platform_inputs 0.0.2
platform_inputs: ^0.0.2

Flutter Android iOS

Native text fields from Flutter. Currently iOS-only with support for UITextField.

Flutter Platform Inputs #

Access native text fields from Flutter.

Use familar Flutter widget syntax to create native platform text fields to access native features such as password autofill.

Early work in progress, currently only supports iOS.

Why would I want this? #

Flutter provides excellent reproductions of iOS and Android text fields, but they aren't always as good as the real thing and lack support for some features.

For instance you can't access iOS password autofill with a Flutter CupertinoTextField, but you can with this package.

Example #

UiTextField(
    controller: TextEditingController("initial value"),
    focusNode: FocusNode()
    placeholder: "Placeholder",
    textContentType: TextContentType.password,
    keyboardType: KeyboardType.defaultType,
    obsecureText: true,
    onChanged: (value) {
      print("$value");
    },
    onSubmitted: (value) {
      print("$value");
    },
),
3
likes
90
pub points
68%
popularity

Native text fields from Flutter. Currently iOS-only with support for UITextField.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

tom.gilder@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on platform_inputs