ms_date_picker_timeline 1.0.2 copy "ms_date_picker_timeline: ^1.0.2" to clipboard
ms_date_picker_timeline: ^1.0.2 copied to clipboard

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

MSDatePickerTimeline #

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:ms_date_picker_timeline/ms_date_picker_timeline.dart';

Usage #

Use the MSDatePickerTimeline Widget

    Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: <Widget>[
          MSDatePickerTimeline(
            DateTime.now(),
            locale: 'pt_BR',
            startDate: DateTime.now(),
            onDateChange: (date) {
              // New date selected
              print(date.day.toString());
            },
          ),
        ],
    ),
Constructor:
    MSDatePickerTimeline(
      this.currentDate, {
      Key key,
      this.monthTextStyle = defaultMonthTextStyle,
      this.dayTextStyle = defaultDayTextStyle,
      this.dateTextStyle = defaultDateTextStyle,
      this.selectionColor = AppColors.defaultSelectionColor,
      this.startDate,
      this.onDateChange,
      this.locale,
    }) : super(key: key);

Author

Based in DatePickerTimelineFlutter #

5
likes
35
pub points
0%
popularity

Publisher

unverified uploader

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 ms_date_picker_timeline