ButtonConfiguration constructor

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

Implementation

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