date_picker_timeline_trendway

Creator: coderz1093

Last updated:

0 purchases

date_picker_timeline_trendway Image
date_picker_timeline_trendway Images

Languages

Categories

Add to Cart

Description:

date picker timeline trendway

DatePickerTimeline #

Flutter Date Picker Library that provides a calendar as a horizontal timeline.
forked and modified from DatePickerTimeline



How To Use #
Import the following package in your dart file
import 'package:date_picker_timeline/date_picker_timeline.dart';
copied to clipboard
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;
});
},
),
],
)
copied to clipboard
Constructor:
DatePicker(
this.startDate, {
Key key,
this.width = 60,
this.height = 80,
this.controller,
this.monthTextStyle = defaultMonthTextStyle,
this.dayTextStyle = defaultDayTextStyle,
this.dateTextStyle = defaultDateTextStyle,
this.selectedTextColor = Colors.white,
this.selectionColor = AppColors.defaultSelectionColor,
this.initialSelectedDate,
this.daysCount = 500,
this.onDateChange,
this.locale = "en_US",
this.enabledDates,
}) : super(key: key);
copied to clipboard
Author #

Vivek Kaushik

Contributors #

BradInTheUSA
Roger
Ale

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.