GlassDisclosure constructor

const GlassDisclosure({
  1. Key? key,
  2. required Widget title,
  3. required Widget child,
  4. Widget? leading,
  5. Widget? subtitle,
  6. bool? expanded,
  7. bool initiallyExpanded = false,
  8. ValueChanged<bool>? onExpansionChanged,
  9. bool inset = true,
  10. double borderRadius = 26,
  11. EdgeInsetsGeometry? childPadding,
  12. bool enabled = true,
  13. bool maintainState = false,
  14. FocusNode? focusNode,
})

Creates a disclosure section.

Implementation

const GlassDisclosure({
  super.key,
  required this.title,
  required this.child,
  this.leading,
  this.subtitle,
  this.expanded,
  this.initiallyExpanded = false,
  this.onExpansionChanged,
  this.inset = true,
  this.borderRadius = 26,
  this.childPadding,
  this.enabled = true,
  this.maintainState = false,
  this.focusNode,
});