list_date_picker 1.0.0 list_date_picker: ^1.0.0 copied to clipboard
This package is based on this code https://api.flutter.dev/flutter/material/showDatePicker.html. The showDatePicker return a DateTime, this package return a `List<DateTime>` so you can select multiple date.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add list_date_picker
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
list_date_picker: ^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:list_date_picker/list_date_picker.dart';