Button constructor

const Button({
  1. Key? key,
  2. dynamic onPressed()?,
  3. String title = "",
  4. TextStyle? style,
  5. Widget? icon,
  6. bool submitting = false,
  7. bool isBlueBg = true,
  8. double? height,
  9. bool isDarkTheme = false,
  10. Widget? child,
})

Implementation

const Button(
    {Key? key,
    this.onPressed,
    this.title = "",
    this.style,
    this.icon,
    this.submitting = false,
    this.isBlueBg = true,
    this.height,
    this.isDarkTheme = false,
    this.child})
    : super(key: key);