TextEditingControllerRaiiExt extension
Extension for managing TextEditingController lifecycle.
Example:
final textController = TextEditingController()
.withLifecycle(this, debugLabel: 'TextController');
Methods
-
withLifecycle(
RaiiLifecycleAware lifecycleAware, {String? debugLabel}) → TextEditingController -
Available on TextEditingController, provided by the TextEditingControllerRaiiExt extension
Attaches this controller to a RaiiLifecycleAware object for automatic disposal.