Site icon Flutter Packages | Pub dev Packages – Flutter Mobile App World

Flutter Timeline Widget Info

Timeline Widget for Flutter Apps

Info about Displays a scrollable timeline with custom child widgets and custom icons

What is Flutter Timeline Widget?

Displays a scrollable timeline with custom child widgets and custom icons.

Installation

In your pubspec.yaml file within your Flutter Project:

dependencies:
  timeline_list: ^0.0.3

Features

Usage

import 'package:timeline_list/timeline.dart';
import 'package:timeline_list/timeline_model.dart';

List<TimelineModel> items = [
      TimelineModel(Placeholder(),
          position: TimelineItemPosition.random,
          iconBackground: Colors.redAccent,
          icon: Icon(Icons.blur_circular)),
      TimelineModel(Placeholder(),
          position: TimelineItemPosition.random,
          iconBackground: Colors.redAccent,
          icon: Icon(Icons.blur_circular)),
    ];
    return Timeline(children: items, position: TimelinePosition.Center);

Example

A sample timeline app can be found in the example/ folder.

Get Source Code on GitHub:

https://github.com/furkantektas/timeline_list

Exit mobile version