0 purchases
bubble timeline
Bubble Timeline Package #
A Flutter Widget to make interactive timeline widget.
This widget can be used to make Event Timelines, or Timelines for certain travel journey. This widget provides easy customisation of individual event bubbles.
Screenshots #
Installing #
To use this package:
Add the following to your pubspec.yaml file:
dependencies:
bubble_timeline: ^1.0.5
copied to clipboard
How to Use #
Simply create a BubbleTimeline widget, and pass the required params:
BubbleTimeline(
bubbleDiameter: 120,
// List of Timeline Bubble Items
items: [
TimelineItem(
title: 'Boat',
subtitle: 'Travel through Oceans',
child: Icon(
Icons.directions_boat,
color: Colors.white,
),
bubbleColor: Colors.grey,
),
TimelineItem(
title: 'Bike',
subtitle: 'Road Trips are best',
child: Icon(
Icons.directions_bike,
color: Colors.white,
),
bubbleColor: Colors.grey,
),
TimelineItem(
title: 'Bus',
subtitle: 'I like to go with friends',
child: Icon(
Icons.directions_bus,
color: Colors.white,
),
bubbleColor: Colors.grey,
),
],
stripColor: Colors.teal,
scaffoldColor: Colors.white,
)
copied to clipboard
Use TimelineItem to add items in Timeline.
TimelineItem(
title: 'Title',
subtitle: 'Subtitle',
description: 'Description',
child: Icon(
Icons.directions_bus,
),
bubbleColor: Colors.blue,
),
copied to clipboard
Contributing #
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
CONTRIBUTORS #
Vansh Goel
LICENSE #
GNU GENERAL PUBLIC LICENSE 3.0
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.