FToastStyle constructor
FToastStyle({
- required BoxDecoration decoration,
- required IconThemeData iconStyle,
- required TextStyle titleTextStyle,
- required TextStyle descriptionTextStyle,
- BoxConstraints constraints = const BoxConstraints(maxHeight: 250, maxWidth: 400),
- EdgeInsetsGeometry padding = const EdgeInsets.all(16),
- ImageFilter? backgroundFilter,
- double iconSpacing = 10,
- double titleSpacing = 1,
- double suffixSpacing = 12,
- FToastMotion motion = const FToastMotion(),
Creates a FToastStyle.
Implementation
FToastStyle({
required this.decoration,
required this.iconStyle,
required this.titleTextStyle,
required this.descriptionTextStyle,
this.constraints = const BoxConstraints(maxHeight: 250, maxWidth: 400),
this.padding = const EdgeInsets.all(16),
this.backgroundFilter,
this.iconSpacing = 10,
this.titleSpacing = 1,
this.suffixSpacing = 12,
this.motion = const FToastMotion(),
});