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

outdated

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 #

23
likes
0
points
197
downloads

Publisher

unverified uploader

Weekly Downloads

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

License

unknown (license)

Dependencies

flutter, intl

More

Packages that depend on calender_picker