pax_date_picker 0.0.6 copy "pax_date_picker: ^0.0.6" to clipboard
pax_date_picker: ^0.0.6 copied to clipboard

A Date-picker timeline.

Features #

This is a flutter package that gives you a custom and reusable date picker timeline.

Getting started #

Simple date picker Package

Usage #

Create a custom screen to handle date picker timeline.

 Center(
              child: DatePicker(
                height: 100,
                selectedWidth: 70,
                DateTime.now(),
                initialSelectedDate: DateTime.now(),
                selectionColor: Color(0xff0A61B4),
                notSelectionColor: Color(0xFFDBEDFF),
                selectedTextColor: Colors.white,
                dayTextStyle: TextStyle(
                  // fontFamily: kFontFamily,
                  fontWeight: FontWeight.w400,
                  fontSize: 10,
                ),
                dateTextStyle: TextStyle(
                  // fontFamily: kFontFamily,
                  fontWeight: FontWeight.w600,
                  fontSize: 14,
                ),
                deactivatedColor: Color(0xFFDBEDFF),
                onDateChange: (date) {
                  // New date selected
                  setState(() {
                    selectedTimelinedate = date;
                  });
                },
                displayMonth: true,
              ),
            ),

Additional information #

Feel free to open pull requests.

Acknowledgments #

0
likes
140
points
44
downloads

Publisher

unverified uploader

Weekly Downloads

A Date-picker timeline.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on pax_date_picker