AtomicCollapseBox constructor

const AtomicCollapseBox({
  1. Key? key,
  2. required Widget child,
  3. required String title,
  4. String? subtitle,
  5. IconData? icon,
  6. bool initiallyExpanded = false,
  7. ValueChanged<bool>? onExpansionChanged,
  8. Color? backgroundColor,
  9. BorderRadius? borderRadius,
  10. EdgeInsets? padding,
  11. EdgeInsets? margin,
  12. bool showBorder = true,
  13. Duration animationDuration = AtomicAnimations.normal,
  14. Curve animationCurve = AtomicAnimations.standardEasing,
})

Implementation

const AtomicCollapseBox({
  super.key,
  required this.child,
  required this.title,
  this.subtitle,
  this.icon,
  this.initiallyExpanded = false,
  this.onExpansionChanged,
  this.backgroundColor,
  this.borderRadius,
  this.padding,
  this.margin,
  this.showBorder = true,
  this.animationDuration = AtomicAnimations.normal,
  this.animationCurve = AtomicAnimations.standardEasing,
});