ButtonConfiguration constructor

ButtonConfiguration({
  1. bool visible = true,
  2. String text = "",
  3. BackgroundStyle? background,
  4. ForegroundStyle? foreground,
})

Implementation

ButtonConfiguration({
  this.visible = true,
  this.text = "",
  BackgroundStyle? background,
  ForegroundStyle? foreground,
})  : background = background ?? BackgroundStyle(),
      foreground = foreground ?? ForegroundStyle();