CustomRaisedButton constructor

const CustomRaisedButton({
  1. Key? key,
  2. required Widget child,
  3. Color? color,
  4. Color? textColor,
  5. double height = 50.0,
  6. double borderRadius = 2.0,
  7. bool loading = false,
  8. VoidCallback? onPressed,
})

Implementation

const CustomRaisedButton({
  Key? key,
  required this.child,
  this.color,
  this.textColor,
  this.height = 50.0,
  this.borderRadius = 2.0,
  this.loading = false,
  this.onPressed,
}) : super(key: key);