TextEditingStreamController class

A TextEditingController with ValueStream.

Inheritance
Mixed in types

Constructors

TextEditingStreamController({String text})
TextEditingStreamController.fromValue(TextEditingValue value)

Properties

controllers Set<MultiStreamController<TextEditingValue>>
@visibleForTesting, read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
hasListeners bool
Whether any listeners are currently registered. [...]
@protected, read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
selection TextSelection
The currently selected text. [...]
read / write, inherited
stream Stream<TextEditingValue>
Stream of value on a value change notification. [...]
read-only, inherited
text String
The current string the user is editing.
read / write, inherited
value TextEditingValue
The current value stored in this notifier. [...]
read / write, inherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes. [...]
inherited
buildTextSpan({TextStyle style, required bool withComposing}) TextSpan
Builds TextSpan from current editing value. [...]
inherited
clear() → void
Set the value to empty. [...]
inherited
clearComposing() → void
Set the composing region to an empty range. [...]
inherited
dispose() Future<void>
Do super.dispose and close all the streams. [...]
inherited
isSelectionWithinTextBounds(TextSelection selection) bool
Check that the selection is inside of the bounds of text.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
notifyListeners() → void
Call all the registered listeners. [...]
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited