ExpandablePanel constructor

const ExpandablePanel({
  1. Key? key,
  2. required Widget header,
  3. required Widget content,
  4. bool isExpanded = false,
  5. ValueChanged<bool>? onExpansionChanged,
  6. Duration duration = const Duration(milliseconds: 250),
  7. bool lazy = true,
  8. Color? borderColor,
  9. String? semanticLabel,
})

Implementation

const ExpandablePanel({
  super.key,
  required this.header,
  required this.content,
  this.isExpanded = false,
  this.onExpansionChanged,
  this.duration = const Duration(milliseconds: 250),
  this.lazy = true,
  this.borderColor,
  this.semanticLabel,
});