AltButton constructor
AltButton(- {String? name,
- IconData? icon,
- IconData? alternateIcon,
- VoidCallback? onPress,
- Color? defaultBackgroundColor,
- Color? pressedBackgroundColor,
- bool active = false,
- Color? activeColor,
- Color? inActiveColor,
- Color? textColor,
- bool show = true,
- bool disabled = false,
- Widget? customComponent}
)
Implementation
AltButton({
this.name,
this.icon,
this.alternateIcon,
this.onPress,
this.defaultBackgroundColor,
this.pressedBackgroundColor,
this.active = false,
this.activeColor,
this.inActiveColor,
this.textColor,
this.show = true,
this.disabled = false,
this.customComponent,
});