CommonMongolLayoutState<Layout extends EmbedLayout> class abstract

It is used to build a Mongol layout. It is not flexible enough. It has UI and logic like the EnglishLayout and you can not change its UI and logic. To build a more flexible Mongol layout, you can use the BaseEmbedTextInputControlState.

Inheritance

Constructors

CommonMongolLayoutState()

Properties

caretRightBottomOffset Point<double>
getter/setter pairinherited
configuration TextInputConfiguration?
getter/setter pairinherited
context BuildContext
The location in the tree where this widget builds.
no setterinherited
editingValue TextEditingValue
getter/setter pairinherited
hardPunctuations Map<String, String>
On the hard keyboard, input the Mongol punctuation using the English/Latin punctuation keys. So this variable is the English/Latin punctuations map to the Mongol punctuations.
final
hashCode int
The hash code for this object.
no setterinherited
layoutConverter LayoutConverter
It is used to convert the layout text (English/Latin text) to the Mongol text.
final
layoutName String
no setterinherited
mongolCommaFullstop String
At the fourth row of the soft keyboard, uses the Mongol comma and full-stop.
final
mongolEA String
On the soft keyboard, the key that switches the Mongol and punctuation page uses the Mongol a and e letters.
final
mounted bool
Whether this State object is currently in a tree.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
softPunctuation String
Used for the first page of the soft keyboard punctuation keys. Length must be 25. The first 10 characters are used for the first row. The next 10 characters are used for the second row. The last 5 characters are used for the third row.
final
softPunctuationShift String
Used for the second page of the soft keyboard punctuation keys. On the punctuation page, press the shift key to switch to the second page. Length must be 25. The first 10 characters are used for the first row. The next 10 characters are used for the second row. The last 5 characters are used for the third row.
final
verticalLetters String
On the soft keyboard, some Mongol keys display vertical letters. So we need to set these letters in this variable.
final
visibleSoftLayout bool
getter/setter pairinherited
widget → Layout
The current configuration.
no setterinherited

Methods

activate() → void
Called when this object is reinserted into the tree after having been removed via deactivate.
inherited
attach() → void
inherited
backspace({int length = 1}) bool
length want to delete char count. If there is a selection, just delete selection and ignore length
override
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
deactivate() → void
Called when this object is removed from the tree.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
detach() → void
override
didChangeDependencies() → void
Called when a dependency of this State object changes.
inherited
didUpdateWidget(covariant Layout oldWidget) → void
Called whenever the widget configuration changes.
inherited
dispose() → void
Called when this object is removed from the tree permanently.
override
hideSoftLayout() → void
override
initState() → void
Called when this object is inserted into the tree.
override
insert(String insert) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onKeyEvent(KeyEvent event) bool
override
performEnter() → void
inherited
reassemble() → void
Called whenever the application is reassembled during debugging, for example during hot reload.
inherited
setCaretRectAndTransform(Rect rect, Matrix4 transform) → void
Informs the text input control about caret area changes.
override
setEditingState(TextEditingValue value) → void
override
setState(VoidCallback fn) → void
Notify the framework that the internal state of this object has changed.
inherited
showSoftLayout() → void
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
updateConfig(TextInputConfiguration configuration) → void
Informs the EmbedTextInputControl about input configuration changes.
inherited

Operators

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