NkFlatButton constructor

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

Implementation

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