TermosExpandableSection constructor
const
TermosExpandableSection({
- Key? key,
- required Widget header,
- Widget? expandedChild,
- Widget? contentBetween,
- Color? accentColor,
- bool? isExpanded,
- bool initialExpanded = false,
- VoidCallback? onToggle,
- bool useOverlayTapTarget = true,
- bool showExpandIcon = true,
- EdgeInsets padding = const EdgeInsets.fromLTRB(12, 10, 12, 12),
- EdgeInsets contentBetweenPadding = const EdgeInsets.symmetric(horizontal: 12),
- EdgeInsets expandedPadding = const EdgeInsets.fromLTRB(12, 8, 12, 12),
- double contentBetweenSpacing = 10,
- BorderRadius? borderRadius,
- Widget? expandIcon,
- Duration expandDuration = const Duration(milliseconds: 300),
- int? starfieldSeed,
Implementation
const TermosExpandableSection({
super.key,
required this.header,
this.expandedChild,
this.contentBetween,
this.accentColor,
this.isExpanded,
this.initialExpanded = false,
this.onToggle,
this.useOverlayTapTarget = true,
this.showExpandIcon = true,
this.padding = const EdgeInsets.fromLTRB(12, 10, 12, 12),
this.contentBetweenPadding = const EdgeInsets.symmetric(horizontal: 12),
this.expandedPadding = const EdgeInsets.fromLTRB(12, 8, 12, 12),
this.contentBetweenSpacing = 10,
this.borderRadius,
this.expandIcon,
this.expandDuration = const Duration(milliseconds: 300),
this.starfieldSeed,
});