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