NkButton constructor
const
NkButton(
- String text, {
- Key? key,
- ButtonStyle? style,
- double height = 40,
- EdgeInsetsGeometry? padding,
- Function? onClick,
- Function? onLongClick,
- TextStyle? textStyle,
- Decoration? decoration,
- double width = 90,
- 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);