Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

iamvivekkaushik/DatePickerTimelineFlutter

Repository files navigation

DatePickerTimeline

Pub

Flutter Date Picker Library that provides a calendar as a horizontal timeline.

How To Use

Import the following package in your dart file

import 'package:date_picker_timeline/date_picker_timeline.dart';

Usage

This version is breaking backwards compatibility

Use the DatePicker Widget

Column(
 mainAxisAlignment: MainAxisAlignment.center,
 children: <Widget>[
 DatePicker(
 DateTime.now(),
 initialSelectedDate: DateTime.now(),
 selectionColor: Colors.black,
 selectedTextColor: Colors.white,
 onDateChange: (date) {
 // New date selected
 setState(() {
 _selectedValue = date;
 });
 },
 ),
 ],
)
Constructor:
DatePicker(
 this.startDate, {
 Key key,
 this.width,
 this.height,
 this.controller,
 this.monthTextStyle,
 this.dayTextStyle,
 this.dateTextStyle,
 this.selectedTextColor,
 this.selectionColor,
 this.deactivatedColor,
 this.initialSelectedDate,
 this.activeDates,
 this.inactiveDates,
 this.daysCount,
 this.onDateChange,
 this.locale = "en_US",
 this.calendarType = CalendarType.gregorianDate,
}) : super(key: key);

Author

Contributors

About

Flutter Date Picker Library that provides a calendar as a horizontal timeline

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 10

AltStyle によって変換されたページ (->オリジナル) /