date_picker_timetable 0.0.5 copy "date_picker_timetable: ^0.0.5" to clipboard
date_picker_timetable: ^0.0.5 copied to clipboard

Date, Month and Year Picker Library that provide a calendar as a horizontal timeline.

DatePickerTimetable #

Pub

This package is a fork of https://pub.dev/packages/date_picker_timeline by Vivek Kaushik and the following contributers BradInTheUSA and Roger with updated dependencies and some merged pull requests from the original project.

How To Use #

Import the following package in your dart file

import 'package:date_picker_timetable/date_picker_timetable.dart';

Usage #

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 #

(END)

6
likes
150
pub points
79%
popularity

Publisher

verified publishermocken.org

Date, Month and Year Picker Library that provide a calendar as a horizontal timeline.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter, intl

More

Packages that depend on date_picker_timetable