HeaderButton constructor
HeaderButton(
- String? text, {
- Key? key,
- FutureCallback? onTap,
- EdgeInsets? padding,
- EdgeInsets? margin,
- bool? isLight,
- TextStyle? style,
- bool? isPrimary,
Implementation
HeaderButton(
this.text, {
Key? key,
this.onTap,
this.padding,
this.margin,
this.isLight,
this.style,
this.isPrimary,
}) : icon = null,
super(key: key ?? Key("header-button-$text"));