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

A calendar picker with support for single date picker also you can scroll between weeks.

Week Date Picker #

A calendar picker with support for single date picker also you can scroll between weeks.

Installing #

To use this package, add week_date_picker as a dependency in your pubspec.yaml file.

Usage #

WeekDatePickerView(
    changeDay: (value) => setState(() {
        _selectedDay = value;
    }),
    selectedDay: _selectedDay,
    config: WeekDataPickerConfig(
        enableWeekNumberText: true,
        enableMonthText: true,
        weekDayType: WeekDayType.TYPE_3,
        weekPosition: WeekPosition.LEFT,
        weekDayCapitalize: true,
    ),
),

How to use custom styling #

You can use custom colors and labels by the optional parameters:

  • config Specifies the WeekDataPickerConfig and set configuration of the WeekDatePickerView
  • selectedDay Set the DateTime with current selected date
  • changeDay Callback function with the new selected date
5
likes
150
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

A calendar picker with support for single date picker also you can scroll between weeks.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on week_date_picker