FPopoverMenuStyle class
A FPopoverMenuStyle's style.
- Inheritance
-
- Object
- FPopoverStyle
- FPopoverMenuStyle
- Available extensions
Constructors
- FPopoverMenuStyle.new({required FItemGroupStyle itemGroupStyle, required FTileGroupStyle tileGroupStyle, required BoxDecoration decoration, double maxWidth = 250, ImageFilter barrierFilter(double animation)?, ImageFilter backgroundFilter(double animation)?, EdgeInsetsGeometry viewInsets = const EdgeInsets.all(5)})
-
Creates a FPopoverMenuStyle.
const
- FPopoverMenuStyle.inherit({required FColors colors, required FStyle style, required FTypography typography})
- Creates a FPopoverMenuStyle that inherits its properties.
Properties
- backgroundFilter → ImageFilter Function(double animation)?
-
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. Defaults to null.
finalinherited
- barrierFilter → ImageFilter Function(double animation)?
-
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. Defaults to null.
finalinherited
- decoration → BoxDecoration
-
The popover's decoration.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemGroupStyle → FItemGroupStyle
-
The item group's style.
final
- maxWidth → double
-
The menu's max width. Defaults to 250.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tileGroupStyle → FTileGroupStyle
-
The tile group's style.
final
- viewInsets → EdgeInsetsGeometry
-
The additional insets of the view. In other words, the minimum distance between the edges of the view and the
edges of the popover. This applied in addition to the insets provided by MediaQueryData.viewPadding.
finalinherited
Methods
-
call(
Object? _) → FPopoverMenuStyle -
Returns itself.
inherited
-
copyWith(
{FItemGroupStyle itemGroupStyle(FItemGroupStyle style)?, FTileGroupStyle tileGroupStyle(FTileGroupStyle style)?, double? maxWidth, BoxDecoration? decoration, ImageFilter barrierFilter(double)?, ImageFilter backgroundFilter(double)?, EdgeInsetsGeometry? viewInsets}) → FPopoverMenuStyle -
Available on FPopoverMenuStyle, provided by the $FPopoverMenuStyleTransformations extension
Returns a copy of this FPopoverMenuStyle with the given properties replaced. -
copyWith(
{BoxDecoration? decoration, ImageFilter barrierFilter(double)?, ImageFilter backgroundFilter(double)?, EdgeInsetsGeometry? viewInsets}) → FPopoverStyle -
Available on FPopoverStyle, provided by the $FPopoverStyleTransformations extension
Returns a copy of this FPopoverStyle with the given properties replaced. -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
lerp(
FPopoverMenuStyle other, double t) → FPopoverMenuStyle -
Available on FPopoverMenuStyle, provided by the $FPopoverMenuStyleTransformations extension
Linearly interpolate between this and another FPopoverMenuStyle using the given factort
. -
lerp(
FPopoverStyle other, double t) → FPopoverStyle -
Available on FPopoverStyle, provided by the $FPopoverStyleTransformations extension
Linearly interpolate between this and another FPopoverStyle using the given factort
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited