NkButton constructor

const NkButton(
  1. String text, {
  2. Key? key,
  3. ButtonStyle? style,
  4. double height = 40,
  5. EdgeInsetsGeometry? padding,
  6. Function? onClick,
  7. Function? onLongClick,
  8. TextStyle? textStyle,
  9. Decoration? decoration,
  10. double width = 90,
  11. GlobalKey<FormState>? formKey,
})

Implementation

const NkButton(this.text,
    {Key? key,
    this.style,
    this.height = 40,
    this.padding,
    this.onClick,
    this.onLongClick,
    this.textStyle,
    this.decoration,
    this.width = 90,
    this.formKey})
    : super(key: key);