range_calendar

Last updated:

0 purchases

range_calendar Image
range_calendar Images
Add to Cart

Description:

range calendar

range_calendar #

This is a flutter calendar package that allows for daily, weekly and monthly calendar selection.
Getting Started #
Depend on it #
Run this command:
With Flutter:
$ flutter pub add range_calendar
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
range_calendar: ^0.0.x
copied to clipboard
Alternatively, your editor might support or flutter pub get. Check the docs for your editor to learn more.
Import it #
Now in your Dart code, you can use:
import 'package:range_calendar/range_calendar.dart';
copied to clipboard
Basic setup #
The complete example is available here.
RangeCalendar(
onDateSelected: (DateTime date) => null,
onTapRange: (CalendarRangeSelected range) => null
)
copied to clipboard

Properties: #
final Color backgroundColorCircleDaySelected;
final Color colorTextSelected;
final Color backgroundColorDayNotRanged;
final Color backgroundColorDayIsRanged;
final Color backgroundColorPointerEvent;
final Function onDateSelected;
final Function onTapRange;
final Map<DateTime, List<Widget>> events;
final Widget titleListEvents;
final Color colorIconRangeSelected;
final Color colorIconsRangeNotSelected;
final List<String> listLabelWeekday;
final Color colorLabelWeekday;
final List<String> listOfMonthsOfTheYear;
final bool viewYerOnMonthName;
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.