date_picker_timeline 0.0.3 copy "date_picker_timeline: ^0.0.3" to clipboard
date_picker_timeline: ^0.0.3 copied to clipboard

outdated

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

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 #

Use the DatePickerTimeline Widget

    Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: <Widget>[
          DatePickerTimeline(
            DateTime.now(),
            onDateChange: (date) {
              // New date selected
              print(date.day.toString());
            },
          ),
        ],
    ),
Constructor:
    DatePickerTimeline(
        this.currentDate, {
        Key key,
        this.dateSize = Dimen.dateTextSize,
        this.daySize = Dimen.dayTextSize,
        this.monthSize = Dimen.monthTextSize,
        this.dateColor = AppColors.defaultDateColor,
        this.monthColor = AppColors.defaultMonthColor,
        this.dayColor = AppColors.defaultDayColor,
        this.selectionColor = AppColors.defaultSelectionColor,
        this.onDateChange,
      }) : super(key: key);

Author #

Contributors #

509
likes
35
pub points
98%
popularity

Publisher

verified publishervivekkaushik.com

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

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on date_picker_timeline