controller property

TextEditingController? controller
final

Controls the text being edited. If null, this widget will create its own TextEditingController.

Contract

Throws an AssertionError if both controller and initialText are provided.

Implementation

final TextEditingController? controller;