horizontal_timeline 1.2.0
horizontal_timeline: ^1.2.0 copied to clipboard
Draws a 24-hour time scale with 15-minute increments, allowing you to select a time range.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add horizontal_timelineWith Flutter:
$ flutter pub add horizontal_timelineThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
horizontal_timeline: ^1.2.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:horizontal_timeline/animated_render_object.dart';
import 'package:horizontal_timeline/selector_decoration.dart';
import 'package:horizontal_timeline/timeline.dart';