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
and isDecimal
.
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
final boolean
-
Constructor Summary
ConstructorDescriptionInputType
(TextInputChannel.TextInputType type, boolean isSigned, boolean isDecimal) -
Method Summary
-
Field Details
-
type
-
isSigned
public final boolean isSigned -
isDecimal
public final boolean isDecimal
-
-
Constructor Details
-
InputType
-
-
Method Details
-
fromJson
@NonNull public static TextInputChannel.InputType fromJson(@NonNull JSONObject json) throws JSONException, NoSuchFieldException - Throws:
JSONException
NoSuchFieldException
-