date_input_form_field 1.2.0 copy "date_input_form_field: ^1.2.0" to clipboard
date_input_form_field: ^1.2.0 copied to clipboard

DateInputFormField is a Flutter widget that wraps a FormField and allows the user to enter a date in a simple, intuitive way.

date_input_form_field #

pub package Score Platform GitHub stars GitHub forks GitHub issues GitHub pull requests

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

Example #

Import the file to your project

import 'package:date_input_form_field/date_input_form_field.dart';

Use the widget as follows:

DateInputFormField(
autovalidateMode: AutovalidateMode.onUserInteraction,
format: 'dd/MM/yyyy',
controller: controller,
decoration: const InputDecoration(
labelText: 'Date of Birth',
border: OutlineInputBorder(),
  ),
),
                

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

Maintainers #

Ravi Kovind #

9
likes
140
pub points
63%
popularity

Publisher

verified publisherbetterx.io

DateInputFormField is a Flutter widget that wraps a FormField and allows the user to enter a date in a simple, intuitive way.

Repository (GitHub)
View/report issues

Topics

#date-input #date-form-field #date-picker #date-text-field #form-field

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on date_input_form_field