Disclosure<T> constructor
const
Disclosure<T> ({
- Key? key,
- Widget? trigger,
- required Widget content,
- bool initiallyExpanded = false,
- DisclosureConfig? config,
- BoxDecoration? decoration,
- EdgeInsetsGeometry padding = const EdgeInsets.all(12),
- VoidCallback? onDoneTap,
Implementation
const Disclosure({
super.key,
this.trigger,
required this.content,
this.initiallyExpanded = false,
this.config,
this.decoration,
this.padding = const EdgeInsets.all(12),
this.onDoneTap,
});