event_timeline_view 0.0.4 copy "event_timeline_view: ^0.0.4" to clipboard
event_timeline_view: ^0.0.4 copied to clipboard

An event timeline view allows users to visualize the occurrence and sequence of events over time and understanding of future occurrences.

example/main.dart

import 'package:event_timeline_view/features/timeline_view/data/event_model.dart';
import 'package:event_timeline_view/features/timeline_view/presentation/screen/timeline_view_screen.dart';
import 'package:flutter/material.dart';

class Example extends StatefulWidget {
  const Example({Key? key}) : super(key: key);

  @override
  State<Example> createState() => _ExampleState();
}

class _ExampleState extends State<Example> {
  List<EventModel> events = [
    EventModel(
        startTime: DateTime(2024, 3, 27, 3, 25, 56),
        endTime: DateTime(2024, 2, 27, 7, 55, 22),
        statusColor: 'FF6B00'),
  ];

  @override
  Widget build(BuildContext context) {
    return TimelineViewScreen(
      events: events,
      selectedDay: DateTime(
        2024,
        3,
        27,
      ),
    );
  }
}
7
likes
130
points
15
downloads

Publisher

verified publisherjarvistechnolabs.com

Weekly Downloads

An event timeline view allows users to visualize the occurrence and sequence of events over time and understanding of future occurrences.

Documentation

API reference

License

MIT (license)

Dependencies

auto_size_text, flutter, intl, table_calendar

More

Packages that depend on event_timeline_view