Skip to content

BeDaut/flutter_platform_inputs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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");
    },
),

About

Native text fields from Flutter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 49.5%
  • Objective-C 38.0%
  • Ruby 8.6%
  • Java 3.9%