marked_date_picker

Last updated:

0 purchases

marked_date_picker Image
marked_date_picker Images
Add to Cart

Description:

marked date picker

Customized DatePicker for displaying marked dates.
Features #
This is minor-copy of showDatePicker. but maybe you need this if you want marking dates on datepicker.
Getting started #

import 'package:marked_date_picker/marked_date_picker.dart';
call showMarkedDatePicker.

Usage #
ValueNotifier<List<DateTime>> markedDatesNotifier = ValueNotifier<List<DateTime>>(
_getMarkedList(date.year, date.month),
);

showMarkedDatePicker(
context: context,
initialDate: date,
lastDate: now,
firstDate: DateTime(2019),
markedDates: markedDates,
markedDatesListenable: markedDatesNotifier,
updateMonthCallback: (year, month) {
markedDatesNotifier.value = DateTime.parse([
DateTime.parse("2021-09-02"),
DateTime.parse("2021-09-04"),
DateTime.parse("2021-09-09"),
DateTime.parse("2021-09-10"),
]
},
);
copied to clipboard
Additional information #

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.