date_picker_timeline_fixed 2.0.0 copy "date_picker_timeline_fixed: ^2.0.0" to clipboard
date_picker_timeline_fixed: ^2.0.0 copied to clipboard

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_fixed/date_picker_timeline_fixed.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",
}) : super(key: key);

Author #

Contributors #

9
likes
100
pub points
67%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on date_picker_timeline_fixed