Button constructor
const
Button({
- Key? key,
- required Color backgroundColor,
- required Color textColor,
- required String text,
- required VoidCallback onTap,
Implementation
const Button(
{Key? key, required this.backgroundColor, required this.textColor,required this.text,required this.onTap}) : super(key: key);