FAccordionStyle constructor

FAccordionStyle({
  1. required TextStyle titleTextStyle,
  2. required TextStyle childTextStyle,
  3. required Color iconColor,
  4. required FFocusedOutlineStyle focusedOutlineStyle,
  5. required FDividerStyle dividerStyle,
  6. EdgeInsets titlePadding = const EdgeInsets.symmetric(vertical: 15),
  7. EdgeInsets childPadding = const EdgeInsets.only(bottom: 15),
  8. double iconSize = 20,
  9. Duration animationDuration = const Duration(milliseconds: 200),
})

Creates a FAccordionStyle.

Implementation

FAccordionStyle({
  required this.titleTextStyle,
  required this.childTextStyle,
  required this.iconColor,
  required this.focusedOutlineStyle,
  required this.dividerStyle,
  this.titlePadding = const EdgeInsets.symmetric(vertical: 15),
  this.childPadding = const EdgeInsets.only(bottom: 15),
  this.iconSize = 20,
  this.animationDuration = const Duration(milliseconds: 200),
}) : assert(0 < iconSize, 'iconSize should be positive.');