StateOutlinedButton constructor

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

Implementation

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