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

outdated

A new Flutter plugin.

horizontal_date_picker #

A new flutter plugin project aims to implement horizontal date picker.

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

depandancy packeges #

  • intl: 0.15.8
  • swipedetector: 1.2.0

App Demo #

Example #

This plugin allow you to do custom styles and shapes for Selected and UnSelected dates

       HorizontalDatePicker(
                onDateChoosen: (date){setState(() {
                 chosen=date; 
                });},
                inintialDate: DateTime.now(),
                height: 60,
                builder: (context, i, d,width) {
                  if (i != 2)
                    return DateRow(d ,width: width,
                   );
                  else
                    return DateRow(
                      d,
                      background: Colors.blue,
                      selectedDayStyle: TextStyle(color: Colors.white),
                      selectedDayOfWeekStyle: TextStyle(color: Colors.white),
                      selectedMonthStyle: TextStyle(color: Colors.white),width: width,
                    );
                },
              )