ESButton constructor
An edge rounded button extended from ElevatedButton
caption
is the text displayed on button
onPressed
is the event triggerd when button is pressed/clicked
width
to set width of the button. Default to full width of parent
Implementation
const ESButton(this.caption,
{Key? key, required this.onPressed, this.width = double.infinity})
: super(key: key);