ButtonWidget constructor
const
ButtonWidget(
- String text,
- Function callback, {
- EdgeInsets? margin,
- double? height,
- Color? background = Colors.blue,
- FontWeight? fontWeight,
- Key? key,
Implementation
const ButtonWidget(this.text, this.callback,
{this.margin,
this.height,
this.background = Colors.blue,
this.fontWeight,
Key? key})
: super(key: key);