FTileContentStyle constructor
FTileContentStyle({
- required FTileContentStateStyle enabledStyle,
- required FTileContentStateStyle enabledHoveredStyle,
- required FTileContentStateStyle disabledStyle,
- EdgeInsets padding = const EdgeInsets.only(left: 15, top: 13, right: 10, bottom: 13),
- double prefixIconSpacing = 10,
- double titleSpacing = 3,
- double middleSpacing = 4,
- double suffixIconSpacing = 5,
Creates a FTileContentStyle.
Implementation
FTileContentStyle({
required this.enabledStyle,
required this.enabledHoveredStyle,
required this.disabledStyle,
this.padding = const EdgeInsets.only(left: 15, top: 13, right: 10, bottom: 13),
this.prefixIconSpacing = 10,
this.titleSpacing = 3,
this.middleSpacing = 4,
this.suffixIconSpacing = 5,
}) : assert(0 <= prefixIconSpacing, 'prefixIconSpacing must be non-negative.'),
assert(0 <= titleSpacing, 'titleSpacing must be non-negative.'),
assert(0 <= middleSpacing, 'middleSpacing must be non-negative.'),
assert(0 <= suffixIconSpacing, 'suffixIconSpacing must be non-negative.');