Expandable constructor
Expandable({
- required DslWidget header,
- required DslWidget collapsed,
- required DslWidget expanded,
- bool initiallyExpanded = false,
- ExpandableHeaderAlignment? headerAlignment,
- ColorToken? backgroundColor,
- bool hasIcon = true,
- double? iconSize,
- String? name,
- Object? visible,
Implementation
Expandable({
required this.header,
required this.collapsed,
required this.expanded,
this.initiallyExpanded = false,
this.headerAlignment,
this.backgroundColor,
this.hasIcon = true,
this.iconSize,
String? name,
Object? visible,
}) : super(name: name, visible: _normalizeVisibility(visible));