FAlertCustomStyle constructor
FAlertCustomStyle({
- required BoxDecoration decoration,
- required Color iconColor,
- required TextStyle titleTextStyle,
- required TextStyle subtitleTextStyle,
- EdgeInsets padding = const EdgeInsets.fromLTRB(16, 12, 16, 12),
- 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.');