StateTextButton constructor
const
StateTextButton({
- Key? key,
- required StateFunction<
StateTextButton, ButtonState> onTap, - required Widget initial,
- Widget? fail,
- Widget? success,
- Widget? loader,
- ButtonStyle? style,
- Widget? icon,
- Widget? disable,
- Widget? loaderIcon,
- Widget? failIcon,
- Widget? successIcon,
- Widget? disableIcon,
- 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);