FAccordionStyle constructor
FAccordionStyle({
- required TextStyle titleTextStyle,
- required TextStyle childTextStyle,
- required Color iconColor,
- required FDividerStyle dividerStyle,
- EdgeInsets titlePadding = const EdgeInsets.symmetric(vertical: 15),
- EdgeInsets childPadding = const EdgeInsets.only(bottom: 15),
- double iconSize = 20,
- Duration animationDuration = const Duration(milliseconds: 200),
Creates a FAccordionStyle.
Implementation
FAccordionStyle({
required this.titleTextStyle,
required this.childTextStyle,
required this.iconColor,
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.');