GlassDisclosure constructor
- Key? key,
- required Widget title,
- required Widget child,
- Widget? leading,
- Widget? subtitle,
- bool? expanded,
- bool initiallyExpanded = false,
- ValueChanged<
bool> ? onExpansionChanged, - bool inset = true,
- double borderRadius = 26,
- EdgeInsetsGeometry? childPadding,
- bool enabled = true,
- bool maintainState = false,
- 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,
});