FDialogStyle class final
FDialog's style.
- Mixed-in types
Constructors
- FDialogStyle({required BoxDecoration decoration, required FDialogContentStyle horizontalStyle, required FDialogContentStyle verticalStyle, double minWidth = 280.0, double maxWidth = 560.0, EdgeInsets insetPadding = const EdgeInsets.symmetric(horizontal: 40, vertical: 24)})
-
Creates a FDialogStyle.
const
- FDialogStyle.inherit({required FStyle style, required FColorScheme colorScheme, required FTypography typography})
-
Creates a FDialogStyle that inherits its properties from the given
style
,colorScheme
, andtypography
.
Properties
- decoration → BoxDecoration
-
The decoration.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- horizontalStyle → FDialogContentStyle
-
The horizontal dialog content's style.
final
- insetPadding → EdgeInsets
-
The inset padding. Defaults to
EdgeInsets.symmetric(horizontal: 40, vertical: 24)
.final - maxWidth → double
-
The maximum width of the dialog. Defaults to 560.
final
- minWidth → double
-
The minimum width of the dialog. Defaults to 280.
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, EdgeInsets? insetPadding, FDialogContentStyle? horizontalStyle, FDialogContentStyle? verticalStyle, double? minWidth, double? maxWidth}) → FDialogStyle - Returns a copy of this FButtonCustomStyle with the given properties replaced.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
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.
override