FAlertCustomStyle constructor

FAlertCustomStyle({
  1. required BoxDecoration decoration,
  2. required Color iconColor,
  3. required TextStyle titleTextStyle,
  4. required TextStyle subtitleTextStyle,
  5. EdgeInsets padding = const EdgeInsets.fromLTRB(16, 12, 16, 12),
  6. double iconSize = 20,
})

Creates a FAlertCustomStyle.

Implementation

FAlertCustomStyle({
  required this.decoration,
  required this.iconColor,
  required this.titleTextStyle,
  required this.subtitleTextStyle,
  this.padding = const EdgeInsets.fromLTRB(16, 12, 16, 12),
  this.iconSize = 20,
}) : assert(0 < iconSize, 'iconSize is $iconSize, but it should be positive.');