horizontal_center_date_picker 2.1.1
horizontal_center_date_picker: ^2.1.1 copied to clipboard
A flutter widget provides a horizontal date picker and always aligns selected date in center.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add horizontal_center_date_picker
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
horizontal_center_date_picker: ^2.1.1
copied to clipboard
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:horizontal_center_date_picker/date_item.dart';
import 'package:horizontal_center_date_picker/date_item_state.dart';
import 'package:horizontal_center_date_picker/date_item_widget.dart';
import 'package:horizontal_center_date_picker/datepicker_controller.dart';
import 'package:horizontal_center_date_picker/horizontal_date_picker.dart';
copied to clipboard