FDialogStyle class

FDialog's style.

Implemented types
Mixed-in types
Available extensions

Constructors

FDialogStyle({required BoxDecoration decoration, required FVariants<FDialogAxisVariantConstraint, FDialogAxisVariant, FDialogContentStyle, FDialogContentStyleDelta> contentStyle, ImageFilter backgroundFilter(double animation)?, EdgeInsetsGeometry insetPadding = const .symmetric(horizontal: 40, vertical: 24), FDialogMotion motion = const FDialogMotion()})
Creates a FDialogStyle.
FDialogStyle.inherit({required FStyle style, required FColors colors, required FTypography typography})
Creates a FDialogStyle that inherits its properties.
factory

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.
final
contentStyle FVariants<FDialogAxisVariantConstraint, FDialogAxisVariant, FDialogContentStyle, FDialogContentStyleDelta>
The dialog content's style.
final
decoration BoxDecoration
The decoration.
final
hashCode int
The hash code for this object.
no setterinherited
insetPadding EdgeInsetsGeometry
The inset padding. Defaults to EdgeInsets.symmetric(horizontal: 40, vertical: 24).
final
motion FDialogMotion
Motion-related properties.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(covariant Object _) FDialogStyle
Returns itself.
inherited
copyWith({ImageFilter backgroundFilter(double)? = imageFilterFunctionSentinel, BoxDecorationDelta? decoration, EdgeInsetsGeometry? insetPadding, FVariantsDelta<FDialogAxisVariantConstraint, FDialogAxisVariant, FDialogContentStyle, FDialogContentStyleDelta>? contentStyle, FDialogMotionDelta? motion}) FDialogStyle

Available on FDialogStyle, provided by the $FDialogStyleTransformations extension

Returns a copy of this FDialogStyle with the given properties replaced.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
lerp(FDialogStyle other, double t) FDialogStyle

Available on FDialogStyle, provided by the $FDialogStyleTransformations extension

Linearly interpolate between this and another FDialogStyle using the given factor t.
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