TAlertTheme constructor

const TAlertTheme({
  1. Color? backgroundColor,
  2. EdgeInsetsGeometry? insetPadding = const EdgeInsets.all(12.0),
  3. EdgeInsetsGeometry? contentPadding = const EdgeInsets.all(20),
  4. EdgeInsetsGeometry? actionsPadding = const EdgeInsets.only(bottom: 15),
  5. MainAxisAlignment? actionsAlignment = MainAxisAlignment.center,
  6. double? iconSize = 64,
  7. TextStyle? titleStyle,
  8. TextStyle? contentStyle,
  9. TextAlign? contentTextAlign = TextAlign.center,
  10. double? closeButtonWidth = 100,
  11. double? confirmButtonWidth = 80,
  12. TButtonType? closeButtonType = TButtonType.softText,
  13. TButtonType? confirmButtonType = TButtonType.softText,
})

Implementation

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