controller property Null safety

TextEditingController? controller
final

Controls the text being edited.

If null, this widget will create its own TextEditingController.

Implementation

final TextEditingController? controller;