输入 Widgets

Take user input in addition to input widgets in Material Components and Cupertino.

See more widgets in the Flutter widget catalog.

  • Form

    An optional container for grouping together multiple form field widgets (e.g. TextField widgets).

    Documentation

  • FormField

    A single form field. This widget maintains the current state of the form field, so that updates and validation errors are visually reflected in the UI.

    Documentation

  • RawKeyboardListener

    A widget that calls a callback whenever the user presses or releases a key on a keyboard.

    Documentation

See more widgets in the Flutter widget catalog.