date_range_form_field 0.0.4
date_range_form_field: ^0.0.4 copied to clipboard
A Flutter package to create a widget which allows the user to use a date picker to input a DateRange into a FormField using showDateRangePicker.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add date_range_form_fieldThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
date_range_form_field: ^0.0.4Alternatively, 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:date_range_form_field/date_range_form_field.dart';