FloraOutlinedButton constructor

const FloraOutlinedButton({
  1. Key? key,
  2. String? title,
  3. VoidCallback? onPressed,
  4. Widget? titleWidget,
  5. FloraButtonOptions options = const FloraButtonOptions(),
  6. bool enabled = true,
  7. bool loading = false,
  8. WidgetBuilder? loadingBuilder,
})

Implementation

const FloraOutlinedButton({
  Key? key,
  this.title,
  this.onPressed,
  this.titleWidget,
  this.options = const FloraButtonOptions(),
  this.enabled = true,
  this.loading = false,
  this.loadingBuilder,
})  : assert((title == null && titleWidget == null) ||
          !(title != null && titleWidget != null)),
      super(key: key);