Class TextInputChannel.InputType
java.lang.Object
io.flutter.embedding.engine.systemchannels.TextInputChannel.InputType
- Enclosing class:
TextInputChannel
A text input type.
If the type is TextInputChannel.TextInputType.NUMBER, this InputType also reports
whether that number isSigned, isDecimal, and isPassword.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanfinal booleanfinal boolean -
Constructor Summary
ConstructorsConstructorDescriptionInputType(TextInputChannel.TextInputType type, boolean isSigned, boolean isDecimal, boolean isPassword) Constructs anInputTypefortypewith the given NUMBER-variation flags. -
Method Summary
-
Field Details
-
type
-
isSigned
public final boolean isSigned -
isDecimal
public final boolean isDecimal -
isPassword
public final boolean isPassword
-
-
Constructor Details
-
InputType
public InputType(@NonNull TextInputChannel.TextInputType type, boolean isSigned, boolean isDecimal, boolean isPassword) Constructs anInputTypefortypewith the given NUMBER-variation flags.
-
-
Method Details
-
fromJson
@NonNull public static TextInputChannel.InputType fromJson(@NonNull JSONObject json) throws JSONException, NoSuchFieldException - Throws:
JSONExceptionNoSuchFieldException
-