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