In flutter, everything is a widget. Flutter gives us a library of the widget but sometimes we need our own custom widget or to make the app more responsive we can make a custom widget.
In this tutorial, I have made a custom button that can be reused as per our own needs. I have used inkwell for the button. Hope It will help someone.