buttonText method
Implementation
Widget buttonText() {
return Padding(
padding: const EdgeInsets.only(left: 10),
child: Text(
widget.text,
style: const TextStyle(
fontSize: 20,
color: Colors.black54,
fontWeight: FontWeight.w600,
),
),
);
}