effectiveController property
TextEditingController
get
effectiveController
The effective text editing controller for this text field.
Returns the widget's controller or the internally created controller.
Implementation
TextEditingController get effectiveController =>
widget.controller ?? _controller!.value;