CustomButton constructor
const
CustomButton({})
Creates a CustomButton with customizable text, color, size, and action.
Implementation
const CustomButton({
Key? key,
required this.text,
required this.onPressed,
this.color = Colors.blue,
this.width,
this.height,
}) : super(key: key);