FPopoverMenuStyleDelta.delta constructor
const
FPopoverMenuStyleDelta.delta({
- FItemGroupStyleDelta? itemGroupStyle,
- FTileGroupStyleDelta? tileGroupStyle,
- double? maxWidth,
- BoxDecorationDelta? decoration,
- ImageFilter Function(double)? barrierFilter()?,
- ImageFilter Function(double)? backgroundFilter()?,
- EdgeInsetsGeometry? viewInsets,
Creates a partial modification of a FPopoverMenuStyle.
Parameters
- FPopoverMenuStyle.itemGroupStyle - The item group's style.
- FPopoverMenuStyle.tileGroupStyle - The tile group's style.
- FPopoverMenuStyle.maxWidth - The menu's max width.
- FPopoverMenuStyle.decoration - The popover's decoration.
- FPopoverMenuStyle.barrierFilter - An optional callback that takes the current animation transition value (0.0 to 1.0) and returns an ImageFilter that is used as the barrier.
- FPopoverMenuStyle.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.
- FPopoverMenuStyle.viewInsets - The additional insets of the view.
Implementation
const factory FPopoverMenuStyleDelta.delta({
FItemGroupStyleDelta? itemGroupStyle,
FTileGroupStyleDelta? tileGroupStyle,
double? maxWidth,
BoxDecorationDelta? decoration,
ImageFilter Function(double)? Function()? barrierFilter,
ImageFilter Function(double)? Function()? backgroundFilter,
EdgeInsetsGeometry? viewInsets,
}) = _FPopoverMenuStyleDelta;