KrTextButton constructor
const
KrTextButton({
- Key? key,
- required Future onPressed(),
- required Widget child,
- Widget? onLoading,
- Widget? onError,
- ButtonStyle? style,
- KrButtonController? controller,
- FocusNode? focusNode,
Implementation
const KrTextButton(
{Key? key,
required this.onPressed,
required this.child,
this.onLoading,
this.onError,
this.style,
this.controller,
this.focusNode})
: super(key: key);