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