StateTextButton constructor

const StateTextButton({
  1. Key? key,
  2. required StateFunction<StateTextButton, ButtonState> onTap,
  3. required Widget initial,
  4. Widget? fail,
  5. Widget? success,
  6. Widget? loader,
  7. ButtonStyle? style,
  8. Widget? icon,
  9. Widget? disable,
  10. Widget? loaderIcon,
  11. Widget? failIcon,
  12. Widget? successIcon,
  13. Widget? disableIcon,
  14. Set<ButtonState>? states,
})

Implementation

const StateTextButton({
  Key? key,
  required this.onTap,
  required this.initial,
  this.fail,
  this.success,
  this.loader,
  this.style,
  this.icon,
  this.disable,
  this.loaderIcon,
  this.failIcon,
  this.successIcon,
  this.disableIcon,
  this.states,
}) : super(key: key);