date_input_form_field

Creator: coderz1093

Last updated:

0 purchases

date_input_form_field Image
date_input_form_field Images

Languages

Categories

Add to Cart

Description:

date input form field

date_input_form_field #







date_input_form_field is a widget for easy date input within a Form, supporting various formats. It is similar to the TextFormField widget.

It is a simple widget that wraps a FormField and provides a (String,DateTime) object as a result. It supports various date formats and can be easily customized. It can be used with any Form.
Usage #
To use this plugin, add date_input_form_field as a dependency in your pubspec.yaml file.
dependencies:
date_input_form_field: ^1.2.0
copied to clipboard
Example #
Import the file to your project
import 'package:date_input_form_field/date_input_form_field.dart';
copied to clipboard
Use the widget as follows:
DateInputFormField(
autovalidateMode: AutovalidateMode.onUserInteraction,
format: 'dd/MM/yyyy',
controller: controller,
decoration: const InputDecoration(
labelText: 'Date of Birth',
border: OutlineInputBorder(),
),
),

copied to clipboard
Issues & Feedback #
If you wish to contribute to this repo, welcome to Pull Requests.
Star ⭐ the repo if you find it useful 🤩🤩. we are open to enhancements, bug-fixes & suggestions. feel free to open an issue.
License #
MIT License
copied to clipboard
Maintainers #
Ravi Kovind #

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.