Repository navigation
History HistoryBoundary
The hairline where full messages begin, below the compacted history: an arrow, "Full messages from here" and the number of the first message shown in full.
import 'package:agent_kit/agent_kit.dart';
Boundary in the 1600 px scene: a hairline on each side of "Full messages from here", then "message 132". The gallery passes messageNumber: 132.
| Parameter | Type | Notes |
|---|---|---|
messageNumber |
int (required) |
One-based number of the first message shown in full. It is written after the text, unless the width is compact. |
thread (the two hairlines), ink (the "Full messages from here" text, weight 600), faint (the message number), colors.iconSecondary (the arrow), typeScale.uiSmall.
The widget reads sizeClassOf(context).isCompact. Compact widths leave out "message N"; the text and both hairlines stay.
- The row is a
Semanticscontainer labelled "Full messages start here, from message N". Its visible children are excluded from semantics (ExcludeSemantics), so the label is read in place of the visible text. - No keyboard or tap handling.
- No reduced-motion handling in this file.
- Gallery scene: History (
GalleryScene.history,HistoryScene). It is theboundaryentry of the scene's timeline, withmessageNumber: 132, and it is the scene's initial anchor. - Golden:
apps/gallery/test/component_shots_test.dartwriteshistory_boundary(index 0),_light.pngand_dark.png. The whole scene is inh_history_1600_<theme>.pngandh_history_390_<theme>.png. - Other tests,
packages/agent_kit/test/history/history_test.dart:- "names the first full message"
- "leaves the number out when compact"
Generated from docs/components/history/HistoryBoundary.md. Edit the file there; changes made on the wiki are overwritten.
Guides
- Package layout and pinning
- agent_kit_core
- Backend mapping
- agent_kit and the gallery
- Icon and README assets
Component sheets
theme
status
transcript
- ActivityGroupView
- AssistantProse
- ChildQuestionRow
- CodeBlock
- DiffView
- ExecOutput
- FileEditRow
- PlanChecklist
- ReturnLine
- SystemLineView
- TranscriptList
- UserBubble
composer
chrome
context
history
outline
workspace
compositions
providers