YaruExpandable constructor
const
YaruExpandable({
- Key? key,
- required Widget header,
- Widget? expandIcon,
- EdgeInsetsGeometry expandIconPadding = EdgeInsets.zero,
- YaruExpandableButtonPosition expandButtonPosition = YaruExpandableButtonPosition.end,
- required Widget child,
- Widget? collapsedChild,
- double gapHeight = 4.0,
- bool isExpanded = false,
- 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,
});