controller property

TextEditingController? controller
final

Controls the text being edited.

Similar to CupertinoTextField, to provide a prefilled text entry, pass in a TextEditingController with an initial value to the controller parameter. Defaults to creating its own TextEditingController.

Implementation

final TextEditingController? controller;