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.
ChainOfThought
const ChainOfThought({
super.key,
this.steps = const [],
this.isThinking = true,
this.title,
this.duration,
this.initiallyExpanded = false,
this.motion,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
steps | List<ThoughtStep> | No | const [] |
isThinking | bool | No | true |
title | String? | No | null |
duration | Duration? | No | null |
initiallyExpanded | bool | No | false |
motion | ComponentMotion? | 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/messaging/chain_of_thought/chain_of_thought.dart
This reference is generated from the ChainOfThought declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

