RoundedButton constructor

const RoundedButton({
  1. required VoidCallback onTap,
  2. required Widget child,
  3. Border? borderStyle,
  4. BorderRadius? borderRadius,
  5. EdgeInsets padding = const EdgeInsets.all(10.0),
  6. Color? backgroundColor = Colors.blueAccent,
  7. Key? key,
})

Implementation

const RoundedButton({
  required this.onTap,
  required this.child,
  this.borderStyle,
  this.borderRadius,
  this.padding = const EdgeInsets.all(10.0),
  this.backgroundColor = Colors.blueAccent,
  Key? key,
}) : super(key: key);