ModulaExpandableButton constructor
const
ModulaExpandableButton({
- required IconData icon,
- required List<
ExpandableItem> items, - Key? key,
- double size = 56,
- double distance = 70,
- double borderRadius = 16,
- Color backgroundColor = Colors.blue,
- Color foregroundColor = Colors.white,
- Duration animationDuration = const Duration(milliseconds: 300),
- bool showLabels = false,
- double elevation = 6.0,
Implementation
const ModulaExpandableButton({
required this.icon,
required this.items,
super.key,
this.size = 56,
this.distance = 70,
this.borderRadius = 16,
this.backgroundColor = Colors.blue,
this.foregroundColor = Colors.white,
this.animationDuration = const Duration(milliseconds: 300),
this.showLabels = false,
this.elevation = 6.0,
});