RoundedButton constructor
const
RoundedButton({
- required VoidCallback onTap,
- required Widget child,
- Border? borderStyle,
- BorderRadius? borderRadius,
- EdgeInsets padding = const EdgeInsets.all(10.0),
- Color? backgroundColor = Colors.blueAccent,
- 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);