HMElevatedButton constructor

HMElevatedButton({
  1. Key? key,
  2. required Function onPressed,
  3. required Widget child,
  4. double? width,
  5. double? height,
  6. Color textColor = Colors.white,
  7. double borderRadius = 25,
  8. bool center = false,
})

Implementation

HMElevatedButton({
  Key? key,
  required this.onPressed,
  required this.child,
  this.width,
  this.height,
  this.textColor = Colors.white,
  this.borderRadius = 25,
  this.center = false,
}) : super(key: key);