TAlertTheme class
Constructors
-
TAlertTheme({required Color backgroundColor, EdgeInsets? insetPadding = const EdgeInsets.all(12.0), EdgeInsets? contentPadding = const EdgeInsets.all(20), EdgeInsets? actionsPadding = const EdgeInsets.only(bottom: 15), MainAxisAlignment actionsAlignment = MainAxisAlignment.center, double? iconSize = 64, required TextStyle titleStyle, required TextStyle contentStyle, TextAlign? contentTextAlign = TextAlign.center, double? closeButtonWidth = 100, double? confirmButtonWidth = 80, TButtonType? closeButtonType = TButtonType.softText, TButtonType? confirmButtonType = TButtonType.softText, MaterialColor? closeButtonColor})
-
const
-
TAlertTheme.defaultTheme(ColorScheme colors)
-
factory
Methods
-
copyWith({Color? backgroundColor, EdgeInsets? insetPadding, EdgeInsets? contentPadding, EdgeInsets? actionsPadding, MainAxisAlignment? actionsAlignment, double? iconSize, TextStyle? titleStyle, TextStyle? contentStyle, TextAlign? contentTextAlign, double? closeButtonWidth, double? confirmButtonWidth, TButtonType? closeButtonType, TButtonType? confirmButtonType})
→ TAlertTheme
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited