calender_picker 2.0.2 copy "calender_picker: ^2.0.2" to clipboard
calender_picker: ^2.0.2 copied to clipboard

Flutter CalenderPicker Library that provides a calendar as a horizontal timeline and single section and multiple selections options also available.

CalenderPicker #

pub package

💥 Flutter CalenderPicker Library that provides a calendar as a horizontal timeline and single section and multiple selections options also available 💥

App Demo #

calender_picker Edited_20210517_233106

Let's get started #

How To Use #

Import the following package in your dart file

import 'package:calender_picker/calender_picker.dart';

Usage #

This version is breaking backwards compatibility

Use the CalenderPicker Widget

Column(
    mainAxisAlignment: MainAxisAlignment.center,
    children: <Widget>[
      CalenderPicker(
        DateTime.now(),
        initialSelectedDate: DateTime.now(),
        selectionColor: Colors.black,
        selectedTextColor: Colors.white,
        onDateChange: (date) {
          // New date selected
          setState(() {
            _selectedValue = date;
          });
        },
      ),
    ],
)
Constructor:
 CalenderPicker(
    this.startDate, {
    Key? key,
    this.enableMultiSelection = false,
    this.monthTextStyle = defaultMonthTextStyle,
    this.dayTextStyle = defaultDayTextStyle,
    this.dateTextStyle = defaultDateTextStyle,
    this.selectedTextColor = Colors.white,
    this.selectionColor = AppColors.defaultSelectionColor,
    this.initialSelectedDate,
    this.activeDates,
    this.daysCount = 500,
    this.onDateChange,
    this.locale = "en_US",
}) : super(key: key);

Author #

24
likes
110
pub points
87%
popularity
screenshot

Publisher

unverified uploader

Flutter CalenderPicker Library that provides a calendar as a horizontal timeline and single section and multiple selections options also available.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on calender_picker