DDSModalDialog class

Inheritance

Constructors

DDSModalDialog.new({Key? key, ModalDialogueVariant? variant = ModalDialogueVariant.basic, Widget? title = const Text('Action Buttons Example'), double? titleTopPadding, Widget? content = const Text('This dialog has custom action buttons and padding.'), String? cancelButtonText = 'Cancel', String? actionButtonText = 'No Thanks', bool showCurrentStepsDot = false, Widget? cancelButton, Widget? actionButton, Color? backgroundColor, double? elevation, required int totalSteps, List<String>? stepContents, List<Widget>? actions, IconData? headerIcon, Color? headerIconColor = ThemeColors.primary, Color showCurrentStepsDotActiveColor = ThemeColors.primary, Color showCurrentStepsDotInactiveColor = const Color(0xFFD9D9D9), double? headerIconSize = 40.0, VoidCallback? onComplete, VoidCallback? onCancel, VoidCallback? onActionClick, double? width, double? height, bool? showIcon, bool displayActionButton = true, bool displayCancelButton = true, Axis buttonDirection = Axis.horizontal, double? iconOffsetVertical = 10, double? iconOffsetHorizontal = 0, Widget? backButton, Widget? finishButton, String? backButtonText = 'Back', String? finishButtonText = 'Finish', double? contentButtonSpacing = 20.0, Widget? headerImage, double? headerImageHeight = 80.0, EdgeInsets? headerImagePadding = const EdgeInsets.only(top: 16.0, bottom: 8.0), double? singleButtonWidth, ButtonType? backButtonType, ButtonSize? backButtonSize, ButtonShape? backButtonShape, double? backButtonWidth, double? backButtonMinWidth, double? backButtonHeight, Color? backButtonPrimaryBackgroundColor, Color? backButtonPrimaryTextColor, Color? backButtonSecondaryBackgroundColor, Color? backButtonSecondaryTextColor, Color? backButtonSecondaryBorderColor, Color? backButtonTertiaryTextColor, TextStyle? backButtonLabelStyle, Color? backButtonPrimaryPressedColor, Color? backButtonSecondaryPressedColor, Color? backButtonTertiaryPressedColor, Color? backButtonLabelPressedColor, Color? backButtonStartIconPressedColor, Color? backButtonEndIconPressedColor})
const

Properties

actionButton Widget?
final
actionButtonText String?
final
actions List<Widget>?
final
backButton Widget?
final
backButtonEndIconPressedColor Color?
final
backButtonHeight double?
final
backButtonLabelPressedColor Color?
final
backButtonLabelStyle TextStyle?
final
backButtonMinWidth double?
final
backButtonPrimaryBackgroundColor Color?
final
backButtonPrimaryPressedColor Color?
final
backButtonPrimaryTextColor Color?
final
backButtonSecondaryBackgroundColor Color?
final
backButtonSecondaryBorderColor Color?
final
backButtonSecondaryPressedColor Color?
final
backButtonSecondaryTextColor Color?
final
backButtonShape ButtonShape?
final
backButtonSize ButtonSize?
final
backButtonStartIconPressedColor Color?
final
backButtonTertiaryPressedColor Color?
final
backButtonTertiaryTextColor Color?
final
backButtonText String?
final
backButtonType ButtonType?
final
backButtonWidth double?
final
backgroundColor Color?
final
buttonDirection Axis
final
cancelButton Widget?
final
cancelButtonText String?
final
content Widget?
final
contentButtonSpacing double?
final
displayActionButton bool
final
displayCancelButton bool
final
elevation double?
final
finishButton Widget?
final
finishButtonText String?
final
hashCode int
The hash code for this object.
no setterinherited
headerIcon IconData?
final
headerIconColor Color?
final
headerIconSize double?
final
headerImage Widget?
final
headerImageHeight double?
final
headerImagePadding EdgeInsets?
final
height double?
final
iconOffsetHorizontal double?
final
iconOffsetVertical double?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onActionClick VoidCallback?
final
onCancel VoidCallback?
final
onComplete VoidCallback?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCurrentStepsDot bool
final
showCurrentStepsDotActiveColor Color
final
showCurrentStepsDotInactiveColor Color
final
showIcon bool?
final
singleButtonWidth double?
final
stepContents List<String>?
final
title Widget?
final
titleTopPadding double?
final
totalSteps int
final
variant ModalDialogueVariant?
final
width double?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _DDSModalDialogState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited