Introduction
Buttons let users tap to do things in your app. ElevatedButton and TextButton are two common button styles you can use.
When you want a button that stands out with a shadow and background color (ElevatedButton).
When you want a simple button with just text and no background (TextButton).
When you want to show a clear call to action on a form or screen.
When you want consistent, easy-to-use buttons that follow platform style.
When you want to handle taps and run code when the user presses a button.