SExpandableMenu constructor
const
SExpandableMenu({
- Key? key,
- double width = 50.0,
- double height = 70.0,
- required List<
SExpandableItem> items, - Color backgroundColor = const Color(0xFF4B5042),
- Color iconColor = Colors.white,
- Color? itemContainerColor,
- Duration animationDuration = const Duration(milliseconds: 400),
- Curve animationCurve = Curves.easeOutCubic,
- 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,
});