Class TextInputChannel.InputType
- java.lang.Object
-
- io.flutter.embedding.engine.systemchannels.TextInputChannel.InputType
-
- Enclosing class:
- TextInputChannel
public static class TextInputChannel.InputType extends Object
A text input type.If the
typeisTextInputChannel.TextInputType.NUMBER, thisInputTypealso reports whether that numberisSignedandisDecimal.
-
-
Field Summary
Fields Modifier and Type Field Description booleanisDecimalbooleanisSignedTextInputChannel.TextInputTypetype
-
Constructor Summary
Constructors Constructor Description InputType(TextInputChannel.TextInputType type, boolean isSigned, boolean isDecimal)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TextInputChannel.InputTypefromJson(JSONObject json)
-
-
-
Field Detail
-
type
@NonNull public final TextInputChannel.TextInputType type
-
isSigned
public final boolean isSigned
-
isDecimal
public final boolean isDecimal
-
-
Constructor Detail
-
InputType
public InputType(@NonNull TextInputChannel.TextInputType type, boolean isSigned, boolean isDecimal)
-
-
Method Detail
-
fromJson
@NonNull public static TextInputChannel.InputType fromJson(@NonNull JSONObject json) throws JSONException, NoSuchFieldException
- Throws:
JSONExceptionNoSuchFieldException
-
-