FDialogStyle class
FDialog's style.
- Implemented types
- Mixed-in types
- Available extensions
Constructors
- FDialogStyle.new({required BoxDecoration decoration, required FDialogContentStyle horizontalStyle, required FDialogContentStyle verticalStyle, Duration insetAnimationDuration = const Duration(milliseconds: 100), Curve insetAnimationCurve = Curves.decelerate, EdgeInsetsGeometry insetPadding = const EdgeInsets.symmetric(horizontal: 40, vertical: 24)})
-
Creates a FDialogStyle.
const
- FDialogStyle.inherit({required FStyle style, required FColors colors, required FTypography typography})
-
Creates a FDialogStyle that inherits its properties.
factory
Properties
- decoration → BoxDecoration
-
The decoration.
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
- verticalStyle → FDialogContentStyle
-
The vertical dialog content's style.
final
Methods
-
copyWith(
{BoxDecoration? decoration, Duration? insetAnimationDuration, Curve? insetAnimationCurve, EdgeInsetsGeometry? insetPadding, FDialogContentStyle? horizontalStyle, FDialogContentStyle? verticalStyle}) → FDialogStyle -
Returns a copy of this FDialogStyle with the given properties replaced.
inherited
-
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
-
transform(
T function(T)) → T -
Available on T, provided by the FTransformables extension
Transform thisT
using the givenfunction
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited