RawEditorState class Null safety

Inheritance
Mixed in types

Constructors

RawEditorState()

Properties

context BuildContext
The location in the tree where this widget builds. [...]
read-only, inherited
copyEnabled bool
Whether copy is enabled, must not be null.
read-only, inherited
currentAutofillScope AutofillScope?
The AutofillScope this TextInputClient belongs to, if any. [...]
read-only, inherited
currentTextEditingValue TextEditingValue?
The current state of the TextEditingValue held by this client.
read-only, inherited
cutEnabled bool
Whether cut is enabled, must not be null.
read-only, inherited
hasConnection bool
Returns true if there is open input connection.
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
mounted bool
Whether this State object is currently in a tree. [...]
read-only, inherited
pasteEnabled bool
Whether paste is enabled, must not be null.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scrollController ScrollController
read-only, override
selectAllEnabled bool
Whether select all is enabled, must not be null.
read-only, inherited
shouldCreateInputConnection bool
Whether to create an input connection with the platform for text editing or not. [...]
read-only, inherited
textEditingValue TextEditingValue
Gets the current text input.
read / write, inherited
wantKeepAlive bool
Whether the current instance should be kept alive. [...]
read-only, override
widget RawEditor
The current configuration. [...]
read-only, inherited

Methods

activate() → void
Called when this object is reinserted into the tree after having been removed via deactivate. [...]
@mustCallSuper, @protected, inherited
bringIntoView(TextPosition position) → void
Brings the provided TextPosition into the visible area of the text input.
inherited
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget. [...]
override
closeConnectionIfNeeded() → void
Closes input connection if it's currently open. Otherwise does nothing.
inherited
connectionClosed() → void
Platform notified framework of closed connection. [...]
inherited
createTicker(TickerCallback onTick) Ticker
Creates a ticker with the given callback. [...]
inherited
deactivate() → void
Called when this object is removed from the tree. [...]
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node. [...]
inherited
didChangeAccessibilityFeatures() → void
Called when the system changes the set of currently active accessibility features. [...]
inherited
didChangeAppLifecycleState(AppLifecycleState state) → void
Called when the system puts the app in the background or returns the app to the foreground. [...]
inherited
didChangeDependencies() → void
Called when a dependency of this State object changes. [...]
override
didChangeLocales(List<Locale>? locales) → void
Called when the system tells the app that the user's locale has changed. For example, if the user changes the system language settings. [...]
inherited
didChangeMetrics() → void
Called when the application's dimensions change. For example, when a phone is rotated. [...]
inherited
didChangePlatformBrightness() → void
Called when the platform brightness changes. [...]
inherited
didChangeTextScaleFactor() → void
Called when the platform's text scale factor changes. [...]
inherited
didHaveMemoryPressure() → void
Called when the system is running low on memory. [...]
inherited
didPopRoute() Future<bool>
Called when the system tells the app to pop the current route. For example, on Android, this is called when the user presses the back button. [...]
inherited
didPushRoute(String route) Future<bool>
Called when the host tells the application to push a new route onto the navigator. [...]
inherited
didPushRouteInformation(RouteInformation routeInformation) Future<bool>
Called when the host tells the application to push a new RouteInformation and a restoration state onto the router. [...]
inherited
didUpdateWidget(covariant RawEditor oldWidget) → void
Called whenever the widget configuration changes. [...]
override
dispose() → void
Called when this object is removed from the tree permanently. [...]
override
getRenderEditor() RenderEditor?
override
getSelectionOverlay() EditorTextSelectionOverlay?
override
getTextEditingValue() TextEditingValue
override
handleCursorMovement(LogicalKeyboardKey key, bool wordModifier, bool lineModifier, bool shift) → void
inherited
handleDelete(bool forward) → void
inherited
handleShortcut(InputShortcut? shortcut) Future<void>
inherited
hideToolbar([bool hideHandles = true]) → void
inherited
initState() → void
Called when this object is inserted into the tree. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
openConnectionIfNeeded() → void
inherited
openOrCloseConnection() → void
Opens or closes input connection based on the current state of focusNode and value.
inherited
performAction(TextInputAction action) → void
Requests that this client perform the given action.
inherited
performPrivateCommand(String action, Map<String, dynamic> data) → void
Request from the input method that this client perform the given private command. [...]
inherited
reassemble() → void
Called whenever the application is reassembled during debugging, for example during hot reload. [...]
@mustCallSuper, @protected, inherited
requestKeyboard() → void
override
setState(VoidCallback fn) → void
Notify the framework that the internal state of this object has changed. [...]
@protected, inherited
setTextEditingValue(TextEditingValue value) → void
override
showAutocorrectionPromptRect(int start, int end) → void
Requests that this client display a prompt rectangle for the given text range, to indicate the range of text that will be changed by a pending autocorrection. [...]
inherited
showToolbar() bool
override
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep. [...]
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object. [...]
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode. [...]
inherited
updateEditingValue(TextEditingValue value) → void
Requests that this client update its editing state to the given value. [...]
inherited
updateFloatingCursor(RawFloatingCursorPoint point) → void
Updates the floating cursor position and state.
inherited
updateKeepAlive() → void
Ensures that any AutomaticKeepAlive ancestors are in a good state, by firing a KeepAliveNotification or triggering the KeepAliveHandle as appropriate.
@protected, inherited
updateRemoteValueIfNeeded() → void
Updates remote value based on current state of document and selection. [...]
inherited
userUpdateTextEditingValue(TextEditingValue value, SelectionChangedCause cause) → void
Indicates that the user has requested the delegate to replace its current text editing state with value. [...]
inherited

Operators

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