AltButton constructor

AltButton(
  1. {String? name,
  2. IconData? icon,
  3. IconData? alternateIcon,
  4. VoidCallback? onPress,
  5. Color? defaultBackgroundColor,
  6. Color? pressedBackgroundColor,
  7. bool active = false,
  8. Color? activeColor,
  9. Color? inActiveColor,
  10. Color? textColor,
  11. bool show = true,
  12. bool disabled = false,
  13. 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,
});