VDigitInputFormatter class

@author: wzp_vicky @time: 2022年09月16日 13:57:04 @version: V1.1 @description:输入框限制:专门用于小数的输入限制,常配合VField2使用。以下列举出一些场景 ❶ 整数:限制个数:inputFormatters:

Inheritance

Constructors

VDigitInputFormatter.new(RegExp _pattern)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

formatEditUpdate(TextEditingValue previousValue, TextEditingValue nextValue) TextEditingValue
Called when text is being typed or cut/copy/pasted in the EditableText.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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