Other interactive widgets

Flutter offers a variety of buttons and similar interactive widgets.
Most of these widgets implement the Material Design guidelines,
which define a set of components with an opinionated UI.

GestureDetector to build
interactivity into any custom widget.
You can find examples of

Managing state. Learn more about the

Handle taps, a recipe in the

Flutter cookbook.

Tip:
  Flutter also provides a set of iOS-style widgets called
  Cupertino.

When you need interactivity, it’s easiest to use one of
the prefabricated widgets. Here’s a partial list:

Standard widgets

Form

FormField

Material Components

Checkbox

DropdownButton

TextButton

FloatingActionButton

IconButton