platform_text_input

Last updated:

0 purchases

platform_text_input Image
platform_text_input Images
Add to Cart

Description:

platform text input

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();
},
);
}
}
copied to clipboard
Getting started #
Run this command for installation
flutter pub add platform_text_input
copied to clipboard
Or add this dependency
dependencies:
platform_text_input: ^0.0.1
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.