Button constructor
const
Button({
- Key? key,
- required String text,
- required VoidCallback onPressed,
- bool isProgressing = false,
Implementation
const Button({
super.key,
required this.text,
required this.onPressed,
this.isProgressing = false,
});