v1.0.5
bubble_timeline
상호작용 가능한 타임라인 위젯을 만들기 위한 플러터 위젯입니다. 이 위젯은 개별 이벤트 버블의 사용자 정의를 쉽게 제공합니다.
70좋아요 2730일 다운로드40Pub 점수
플랫폼 정보 없음
상호작용 가능한 타임라인 위젯을 만들기 위한 Flutter 위젯입니다.
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
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.
To use this package:
Add the following to your pubspec.yaml file:
dependencies:
bubble_timeline: ^1.0.5
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,
)
Use TimelineItem to add items in Timeline.
TimelineItem(
title: 'Title',
subtitle: 'Subtitle',
description: 'Description',
child: Icon(
Icons.directions_bus,
),
bubbleColor: Colors.blue,
),
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.