KrTextButton constructor

const KrTextButton({
  1. Key? key,
  2. required Future onPressed(),
  3. required Widget child,
  4. Widget? onLoading,
  5. Widget? onError,
  6. ButtonStyle? style,
  7. KrButtonController? controller,
  8. 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);