AtomicCollapseBox constructor
const
AtomicCollapseBox({
- Key? key,
- required Widget child,
- required String title,
- String? subtitle,
- IconData? icon,
- bool initiallyExpanded = false,
- ValueChanged<
bool> ? onExpansionChanged, - Color? backgroundColor,
- BorderRadius? borderRadius,
- EdgeInsets? padding,
- EdgeInsets? margin,
- bool showBorder = true,
- Duration animationDuration = AtomicAnimations.normal,
- 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,
});