FDialogStyle class
FDialog's style.
- Mixed-in types
- Available extensions
Constructors
- FDialogStyle({required BoxDecoration decoration, required FDialogContentStyle horizontalStyle, required FDialogContentStyle verticalStyle, ImageFilter backgroundFilter(double animation)?, EdgeInsetsGeometry insetPadding = const EdgeInsets.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
- decoration → BoxDecoration
-
The decoration.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- horizontalStyle → FDialogContentStyle
-
The horizontal dialog content's style.
final
- 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
- verticalStyle → FDialogContentStyle
-
The vertical dialog content's style.
final
Methods
-
call(
Object? _) → FDialogStyle -
Returns itself.
inherited
-
copyWith(
{ImageFilter backgroundFilter(double)?, BoxDecoration? decoration, EdgeInsetsGeometry? insetPadding, FDialogContentStyle horizontalStyle(FDialogContentStyle style)?, FDialogContentStyle verticalStyle(FDialogContentStyle style)?, FDialogMotion motion(FDialogMotion 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 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