Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
Timeline
const Timeline({
super.key,
required this.events,
this.size,
this.variant = TimelineVariant.standard,
this.overline,
this.title,
this.sectionLabel,
this.activeColor,
this.lineColor,
this.textColor,
this.secondaryTextColor,
this.markerSize,
this.iconSize,
this.lineWidth = 1.25,
this.eventSpacing,
this.contentSpacing,
this.timeWidth,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
events | List<TimelineEvent> | Yes | — |
size | ComponentSize? | No | null |
variant | TimelineVariant | No | TimelineVariant.standard |
overline | String? | No | null |
title | String? | No | null |
sectionLabel | String? | No | null |
activeColor | Color? | No | null |
lineColor | Color? | No | null |
textColor | Color? | No | null |
secondaryTextColor | Color? | No | null |
markerSize | double? | No | null |
iconSize | double? | No | null |
lineWidth | double | No | 1.25 |
eventSpacing | double? | No | null |
contentSpacing | double? | No | null |
timeWidth | double? | No | null |
Application Setup
Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.
Source
lib/src/widgets/data_display/timeline/timeline.dart
This reference is generated from the Timeline declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

