AnimatedDialogTheme class

Style related settings for "CustomDialog", that will be used on dialog displays.

Constructors

AnimatedDialogTheme({EdgeInsets? contentPadding, EdgeInsets? actionsPadding, Size? contentSize, TextStyle? contentTextStyle, TextAlign? contentTextAlign, TextStyle? actionTextStyle, VoidCallback? onPressed, BoxConstraints? contentBoxConstraints, ShapeBorder? shape, double? elevation, Color? backgroundColor, Duration? animationDuration, LanguageDialogTheme? languageDialogTheme, TextStyle? titleStyle})
Default constructor for the AnimatedDialogTheme.
const

Properties

actionsPadding EdgeInsets?
The padding for actions of the dialogs.
final
actionTextStyle TextStyle?
Text style of the action text.
final
animationDuration Duration?
Duration of display animation of the dialog.
final
backgroundColor Color?
Background color of the dialog.
final
contentBoxConstraints BoxConstraints?
Box constraints, size limitations of the content widget, if any. Limits their size acc. to width and height.
final
contentPadding EdgeInsets?
The padding for content of the dialogs.
final
contentSize Size?
Size of the content widget.
final
contentTextAlign TextAlign?
Text alignment of the content text.
final
contentTextStyle TextStyle?
Text style of the content text.
final
elevation double?
Elevation of the dialog.
final
hashCode int
The hash code for this object.
no setterinherited
languageDialogTheme LanguageDialogTheme?
Theme of language dialog. Determines its style with the help of LanguageDialogTheme.
final
onPressed VoidCallback?
Action will be performed on click to action button of the dialog.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape ShapeBorder?
Shape of the dialog.
final
titleStyle TextStyle?
Text style of the title.
final

Methods

copyWith({EdgeInsets? contentPadding, EdgeInsets? actionsPadding, Size? contentSize, TextStyle? contentTextStyle, TextAlign? contentTextAlign, TextStyle? actionTextStyle, VoidCallback? onPressed, BoxConstraints? contentBoxConstraints, ShapeBorder? shape, double? elevation, Color? backgroundColor, Duration? animationDuration, LanguageDialogTheme? languageDialogTheme, TextStyle? titleStyle}) AnimatedDialogTheme
Creates a copy animated dialog theme with the given parameters.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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