Expandable constructor

Expandable({
  1. required DslWidget header,
  2. required DslWidget collapsed,
  3. required DslWidget expanded,
  4. bool initiallyExpanded = false,
  5. ExpandableHeaderAlignment? headerAlignment,
  6. ColorToken? backgroundColor,
  7. bool hasIcon = true,
  8. double? iconSize,
  9. String? name,
  10. 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));