TAlertTheme class

Constructors

TAlertTheme({Color? backgroundColor, EdgeInsetsGeometry? insetPadding = const EdgeInsets.all(12.0), EdgeInsetsGeometry? contentPadding = const EdgeInsets.all(20), EdgeInsetsGeometry? actionsPadding = const EdgeInsets.only(bottom: 15), MainAxisAlignment? actionsAlignment = MainAxisAlignment.center, double? iconSize = 64, TextStyle? titleStyle, TextStyle? contentStyle, TextAlign? contentTextAlign = TextAlign.center, double? closeButtonWidth = 100, double? confirmButtonWidth = 80, TButtonType? closeButtonType = TButtonType.softText, TButtonType? confirmButtonType = TButtonType.softText})
const

Properties

actionsAlignment MainAxisAlignment?
final
actionsPadding EdgeInsetsGeometry?
final
backgroundColor Color?
final
closeButtonType TButtonType?
final
closeButtonWidth double?
final
confirmButtonType TButtonType?
final
confirmButtonWidth double?
final
contentPadding EdgeInsetsGeometry?
final
contentStyle TextStyle?
final
contentTextAlign TextAlign?
final
hashCode int
The hash code for this object.
no setterinherited
iconSize double?
final
insetPadding EdgeInsetsGeometry?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
titleStyle TextStyle?
final

Methods

copyWith({EdgeInsetsGeometry? insetPadding, EdgeInsetsGeometry? contentPadding, EdgeInsetsGeometry? actionsPadding, MainAxisAlignment? actionsAlignment, double? iconSize, TextStyle? titleStyle, TextStyle? contentStyle, TextAlign? contentTextAlign, double? closeButtonWidth, double? confirmButtonWidth, TButtonType? closeButtonType, TButtonType? confirmButtonType}) TAlertTheme
getBackground(ColorScheme colors) Color
getContentStyle(ColorScheme colors) TextStyle
getTitleStyle(ColorScheme colors) TextStyle
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