YaruExpandable constructor

const YaruExpandable({
  1. Key? key,
  2. required Widget header,
  3. Widget? expandIcon,
  4. EdgeInsetsGeometry expandIconPadding = EdgeInsets.zero,
  5. YaruExpandableButtonPosition expandButtonPosition = YaruExpandableButtonPosition.end,
  6. required Widget child,
  7. Widget? collapsedChild,
  8. double gapHeight = 4.0,
  9. bool isExpanded = false,
  10. ValueChanged<bool>? onChange,
})

Implementation

const YaruExpandable({
  super.key,
  required this.header,
  this.expandIcon,
  this.expandIconPadding = EdgeInsets.zero,
  this.expandButtonPosition = YaruExpandableButtonPosition.end,
  required this.child,
  this.collapsedChild,
  this.gapHeight = 4.0,
  this.isExpanded = false,
  this.onChange,
});