ControlButton constructor
ControlButton(- {String? name,
- IconData? icon,
- IconData? alternateIcon,
- VoidCallback? onPress,
- Color? color = Colors.white,
- Color? activeColor = Colors.blue,
- Color? inActiveColor = Colors.grey,
- bool active = false,
- bool show = true,
- Widget? customComponent,
- bool disabled = false}
)
Implementation
ControlButton({
this.name,
this.icon,
this.alternateIcon,
this.onPress,
this.color = Colors.white,
this.activeColor = Colors.blue,
this.inActiveColor = Colors.grey,
this.active = false,
this.show = true,
this.customComponent,
this.disabled = false,
});