ExpandAnimationView constructor

const ExpandAnimationView({
  1. Key? key,
  2. required Widget titleView,
  3. required Widget contentView,
  4. Widget? iconView,
  5. double axisAlignment = -1.0,
  6. EdgeInsets? margin,
  7. EdgeInsets? padding,
  8. BoxDecoration? decoration,
  9. EdgeInsets? titleMargin,
  10. EdgeInsets? titlePadding,
  11. BoxDecoration? titleDecoration,
  12. bool isExpand = false,
  13. ValueChanged<bool>? onChanged,
  14. Future<bool> onBeforeExpand()?,
})

Implementation

const ExpandAnimationView({
  super.key,
  required this.titleView,
  required this.contentView,
  this.iconView,
  this.axisAlignment = -1.0,
  this.margin,
  this.padding,
  this.decoration,
  this.titleMargin,
  this.titlePadding,
  this.titleDecoration,
  this.isExpand = false,
  this.onChanged,
  this.onBeforeExpand,
});