easy_date_timeline 1.1.3 copy "easy_date_timeline: ^1.1.3" to clipboard
easy_date_timeline: ^1.1.3 copied to clipboard

The "easy_date_timeline" package is a customizable Flutter library that displays a timeline of dates in a horizontal view.

example/lib/main.dart

import 'package:example/examples/examples.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Easy Date Timeline',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Easy Date Timeline 😊'),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        centerTitle: true,
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(title),
      ),
      body: const SingleChildScrollView(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            SizedBox(height: 32.0),
            EasyInfiniteDateTimeLineExample(),
            Divider(height: 32),
            SizedBox(height: 32.0),
            InfiniteItemBuilderExample(),
            BasicExample(),
            SizedBox(height: 32.0),
            CustomBackgroundExample(),
            SizedBox(height: 32.0),
            ChangeTodyHighlightColorExample(),
            SizedBox(height: 32.0),
            ChangeDayStructureExample(),
            SizedBox(height: 32.0),
            LandscapeViewExample(),
            SizedBox(height: 32.0),
            LocalSupportExample(),
            SizedBox(height: 32.0),
            ChangeHeaderAppearanceExample(),
            SizedBox(height: 32.0),
            EasyDateTimeLineItemBuilderExample(),
            SizedBox(height: 32.0),
          ],
        ),
      ),
    );
  }
}
327
likes
160
pub points
97%
popularity

Publisher

unverified uploader

The "easy_date_timeline" package is a customizable Flutter library that displays a timeline of dates in a horizontal view.

Repository (GitHub)
View/report issues

Topics

#calendar #picker #widget #timeline #date-time

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on easy_date_timeline