TermosExpandableSection constructor

const TermosExpandableSection({
  1. Key? key,
  2. required Widget header,
  3. Widget? expandedChild,
  4. Widget? contentBetween,
  5. Color? accentColor,
  6. bool? isExpanded,
  7. bool initialExpanded = false,
  8. VoidCallback? onToggle,
  9. bool useOverlayTapTarget = true,
  10. bool showExpandIcon = true,
  11. EdgeInsets padding = const EdgeInsets.fromLTRB(12, 10, 12, 12),
  12. EdgeInsets contentBetweenPadding = const EdgeInsets.symmetric(horizontal: 12),
  13. EdgeInsets expandedPadding = const EdgeInsets.fromLTRB(12, 8, 12, 12),
  14. double contentBetweenSpacing = 10,
  15. BorderRadius? borderRadius,
  16. Widget? expandIcon,
  17. Duration expandDuration = const Duration(milliseconds: 300),
  18. 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,
});