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

outdated

this is package for display calender_picker.

CalenderPicker #

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.width = 60,
    this.height = 70,
    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
0
pub points
88%
popularity

Publisher

unverified uploader

this is package for display calender_picker.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on calender_picker