FTileContentStyle constructor

FTileContentStyle({
  1. required FTileContentStateStyle enabledStyle,
  2. required FTileContentStateStyle enabledHoveredStyle,
  3. required FTileContentStateStyle disabledStyle,
  4. EdgeInsets padding = const EdgeInsets.only(left: 15, top: 13, right: 10, bottom: 13),
  5. double prefixIconSpacing = 10,
  6. double titleSpacing = 3,
  7. double middleSpacing = 4,
  8. 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.');