Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

datepickertimeline

pub

flutter date picker library that provides a calendar as a horizontal timeline.

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

author

contributors


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Top