FDialogStyle class

FDialog's style.

Mixed-in types
Available extensions

Constructors

FDialogStyle.new({required BoxDecoration decoration, required FDialogContentStyle horizontalStyle, required FDialogContentStyle verticalStyle, ImageFilter barrierFilter(double animation)?, Duration entranceExitDuration = const Duration(milliseconds: 150), Curve entranceCurve = Curves.easeOutCubic, Curve exitCurve = Curves.easeInCubic, ImageFilter backgroundFilter(double animation)?, Duration insetAnimationDuration = const Duration(milliseconds: 100), Curve insetAnimationCurve = Curves.decelerate, EdgeInsetsGeometry insetPadding = const EdgeInsets.symmetric(horizontal: 40, vertical: 24), Tween<double>? fadeTween, Tween<double>? scaleTween})
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
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.
final
decoration BoxDecoration
The decoration.
final
entranceCurve Curve
The dialog's entrance animation curve. Defaults to Curves.easeOutCubic.
final
entranceExitDuration Duration
The dialog's entrance/exit animation duration. Defaults to 150ms.
final
exitCurve Curve
The dialog's entrance animation curve. Defaults to Curves.easeInCubic.
final
fadeTween Tween<double>
The tween used to animate the dialog's fade in and out. Defaults to [0, 1].
final
hashCode int
The hash code for this object.
no setterinherited
horizontalStyle FDialogContentStyle
The horizontal dialog content's style.
final
insetAnimationCurve Curve
The curve to use for the animation shown when the system keyboard intrudes into the space that the dialog is placed in.
final
insetAnimationDuration Duration
The duration of the animation to show when the system keyboard intrudes into the space that the dialog is placed in.
final
insetPadding EdgeInsetsGeometry
The inset padding. Defaults to EdgeInsets.symmetric(horizontal: 40, vertical: 24).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaleTween Tween<double>
The tween used to animate the dialog's scale in and out. Defaults to [0.95, 1].
final
verticalStyle FDialogContentStyle
The vertical dialog content's style.
final

Methods

call(Object? _) FDialogStyle
Returns itself.
inherited
copyWith({ImageFilter barrierFilter(double)?, ImageFilter backgroundFilter(double)?, Duration? entranceExitDuration, Curve? entranceCurve, Curve? exitCurve, Tween<double>? fadeTween, Tween<double>? scaleTween, BoxDecoration? decoration, Duration? insetAnimationDuration, Curve? insetAnimationCurve, EdgeInsetsGeometry? insetPadding, FDialogContentStyle horizontalStyle(FDialogContentStyle)?, FDialogContentStyle verticalStyle(FDialogContentStyle)?}) FDialogStyle

Available on FDialogStyle, provided by the $FDialogStyleCopyWith extension

Returns a copy of this FDialogStyle with the given properties replaced.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
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