Disclosure<T> constructor

const Disclosure<T>({
  1. Key? key,
  2. Widget? trigger,
  3. required Widget content,
  4. bool initiallyExpanded = false,
  5. DisclosureConfig? config,
  6. BoxDecoration? decoration,
  7. EdgeInsetsGeometry padding = const EdgeInsets.all(12),
  8. 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,
});