easy_calendar_picker 0.1.3 copy "easy_calendar_picker: ^0.1.3" to clipboard
easy_calendar_picker: ^0.1.3 copied to clipboard

A simple and customizable calendar picker for Flutter. This package support single and range pick

Easy Calendar Picker #

Pub Version

A simple and customizable calendar picker for Flutter.

Features #

  • ✅ Select single dates
  • ✅ Select date ranges
  • ❌ Customize appearance (pending)
  • ❌ Localization support (pending)

Installation #

Add the following to your pubspec.yaml:

dependencies:
  easy_calendar_picker: ^0.1.3

Then run flutter pub get.

Usage #

Import the package:

import 'package:easy_calendar_picker/easy_calendar_picker.dart';

Single Date Picker #

showBottomCalendarPicker(
    context,
    labelConfig: LabelConfiguration(name: 'App Calendar', textStyle: const TextStyle(fontSize: 18)),
    pickType: CalendarPickerType.single,
    onTapDate: (val) {},
);

Date Range Picker #

showBottomCalendarPicker(
    context,
    labelConfig: LabelConfiguration(name: 'App Calendar', textStyle: const TextStyle(fontSize: 18)),
    pickType: CalendarPickerType.range,
    onRangeChanged: (fromDate, toDate) {},
);

Maintainers #

Contributions #

Contributions are welcome! Please open an issue or submit a pull request.

1
likes
140
pub points
24%
popularity

Publisher

unverified uploader

A simple and customizable calendar picker for Flutter. This package support single and range pick

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

dartx, flutter, gap, intl

More

Packages that depend on easy_calendar_picker