MenkLayoutState class

Todo: Define the constants to the Menk characters Note: You need to set the one Menk font to the IDE, otherwise, the Menk characters can not be readable.

Inheritance

Constructors

MenkLayoutState()

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.
getter/setter pairoverride-getter
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.
no setteroverride
layoutName String
getter/setter pairoverride-getter
mongolCommaFullstop String
At the fourth row of the soft keyboard, uses the Mongol comma and full-stop.
getter/setter pairoverride-getter
mongolEA String
On the soft keyboard, the key that switches the Mongol and punctuation page uses the Mongol a and e letters.
getter/setter pairoverride-getter
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.
getter/setter pairoverride-getter
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.
getter/setter pairoverride-getter
verticalLetters String
On the soft keyboard, some Mongol keys display vertical letters. So we need to set these letters in this variable.
getter/setter pairoverride-getter
visibleSoftLayout bool
getter/setter pairinherited
widget MenkLayout
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
inherited
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
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
detach() → void
inherited
didChangeDependencies() → void
Called when a dependency of this State object changes.
inherited
didUpdateWidget(covariant MenkLayout oldWidget) → void
Called whenever the widget configuration changes.
inherited
dispose() → void
Called when this object is removed from the tree permanently.
inherited
hideSoftLayout() → void
inherited
initState() → void
Called when this object is inserted into the tree.
inherited
insert(String insert) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onKeyEvent(KeyEvent event) bool
inherited
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.
inherited
setEditingState(TextEditingValue value) → void
inherited
setState(VoidCallback fn) → void
Notify the framework that the internal state of this object has changed.
inherited
showSoftLayout() → void
inherited
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