SExpandableMenu constructor

const SExpandableMenu({
  1. Key? key,
  2. double width = 50.0,
  3. double height = 70.0,
  4. required List<SExpandableItem> items,
  5. Color backgroundColor = const Color(0xFF4B5042),
  6. Color iconColor = Colors.white,
  7. Color? itemContainerColor,
  8. Duration animationDuration = const Duration(milliseconds: 400),
  9. Curve animationCurve = Curves.easeOutCubic,
  10. ExpandDirection expandDirection = ExpandDirection.auto,
})

Implementation

const SExpandableMenu({
  super.key,
  this.width = 50.0,
  this.height = 70.0,
  required this.items,
  this.backgroundColor = const Color(0xFF4B5042),
  this.iconColor = Colors.white,
  this.itemContainerColor,
  this.animationDuration = const Duration(milliseconds: 400),
  this.animationCurve = Curves.easeOutCubic,
  this.expandDirection = ExpandDirection.auto,
});