FPopoverStyleDelta.delta constructor
const
FPopoverStyleDelta.delta({
- DecorationDelta? decoration,
- ImageFilter barrierFilter(
- BuildContext context,
- double animation
- ImageFilter backgroundFilter(
- BuildContext context,
- double animation
- EdgeInsetsGeometryDelta? popoverPadding,
- FPortalArrowStyleDelta? arrowStyle,
- FPopoverMotionDelta? motion,
Creates a partial modification of a FPopoverStyle.
Parameters
- FPopoverStyle.decoration - The popover's decoration.
- FPopoverStyle.barrierFilter - An optional callback that takes a BuildContext and the current animation transition value (0.0 to 1.0), and returns an ImageFilter that is used as the barrier.
- FPopoverStyle.backgroundFilter - An optional callback that takes the current animation transition value (0.0 to 1.0) and returns an ImageFilter that is used as the background.
- FPopoverStyle.popoverPadding - The additional padding between the edges of the view and the edges of the popover.
- FPopoverStyle.arrowStyle - The arrow's style.
- FPopoverStyle.motion - The popover's motion configuration.
Implementation
const factory delta({
DecorationDelta? decoration,
ImageFilter Function(BuildContext, double)? barrierFilter,
ImageFilter Function(BuildContext, double)? backgroundFilter,
EdgeInsetsGeometryDelta? popoverPadding,
FPortalArrowStyleDelta? arrowStyle,
FPopoverMotionDelta? motion,
}) = _FPopoverStyleDelta;