input_type_field 1.0.0 copy "input_type_field: ^1.0.0" to clipboard
input_type_field: ^1.0.0 copied to clipboard

A multi platform input type. With current keyboard type parameter input fields will force you to enter only digits (for example) but this is not the case when executing your code on the web or on desk [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add input_type_field

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  input_type_field: ^1.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:input_type_field/extensions/extension_file.dart';
import 'package:input_type_field/validators/validators_constants.dart';
import 'package:input_type_field/widgets/cupertino_text_type.dart';
import 'package:input_type_field/widgets/input_type_field.dart';
import 'package:input_type_field/widgets/material_text_type.dart';
2
likes
80
pub points
0%
popularity

Publisher

verified publisherbadrkouki.dev

A multi platform input type. With current keyboard type parameter input fields will force you to enter only digits (for example) but this is not the case when executing your code on the web or on desktop apps. This is the main purpose of this package is to help developers set input fields easily and across all platforms.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on input_type_field