HeaderButton constructor

HeaderButton(
  1. String? text, {
  2. Key? key,
  3. FutureCallback? onTap,
  4. EdgeInsets? padding,
  5. EdgeInsets? margin,
  6. bool? isLight,
  7. TextStyle? style,
  8. 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"));