SpeedDialOption constructor
SpeedDialOption({
- required Widget text,
- required VoidCallback onPressed,
- required Widget icon,
- Color iconclosedForegroundColor = Colors.white,
- Color iconopenedForegroundColor = Colors.white,
- Color iconclosedBackgroundColor = Colors.blue,
- Color iconopenedBackgroundColor = Colors.blue,
- double iconclosedElevation = 0,
- double iconopenedElevation = 0,
Implementation
SpeedDialOption({
required this.text,
required this.onPressed,
required this.icon,
this.iconclosedForegroundColor = Colors.white,
this.iconopenedForegroundColor = Colors.white,
this.iconclosedBackgroundColor = Colors.blue,
this.iconopenedBackgroundColor = Colors.blue,
this.iconclosedElevation = 0,
this.iconopenedElevation = 0,
});