platform_text_input 0.0.1 copy "platform_text_input: ^0.0.1" to clipboard
platform_text_input: ^0.0.1 copied to clipboard

A new flutter input text widget for mobile platforms.

platform_text_input #

Introduction #

This project provides an amazing widget for using the specific inputfield for the specific platform

Example #

class _HomeState extends State<Home> {
  @override
  Widget build(BuildContext context) {
    return Container(
      color: Colors.blue,
      child: Center(
          child: MTextFormField(
          controller: _usernameController,
          focusNode: _usernameFocus,
          keyboardType: TextInputType.text,
          textInputAction: TextInputAction.next,
          inputDecorator: InputDecoration(
            labelText: "username",
            errorText: "username error",
          ),
          onChanged: (value) {
            _store.username = value;
          },
          onFieldSubmitted: (_) {
            _emailFocus.requestFocus();
      },
    );
  }
}

Getting started #

Run this command for installation

flutter pub add platform_text_input

Or add this dependency

dependencies:
  platform_text_input: ^0.0.1
0
likes
70
pub points
0%
popularity

Publisher

unverified uploader

A new flutter input text widget for mobile platforms.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on platform_text_input