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

A Flutter package for importing scrollable timeline date picker .

A flutter package that can be used to import scrollable datetime timeline.

Features #

supports Web, Android
can change Color according to your UI

image

Getting started #

To use this package add it to the pubspec.yaml and run 'flutter pub get'
Now, you can import 'DateTimeLine()' widget and use it.

Usage #

Below is an example code for using this.

import 'package:date_time_line/date_time_line.dart';
DateTimeLine(
            width: MediaQuery.of(context).size.width,
            color: Colors.lightGreen,
            hintText: "10 task today",
            onSelected: (value) {
              setState(() {
                date = value;
              });
            },
          ),

The 'date' variable can be used to get the selected date.
The 'hintText' value is shown below the month and year.

Additional information #

Currently i have tested it only on Android and Web. Soon i'll try to implement this on Windows, IOS ...

12
likes
130
points
52
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for importing scrollable timeline date picker .

Repository (GitHub)

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter, intl

More

Packages that depend on date_time_line