Chat perf: path-free running border, keystroke- and delta-quiet composer, spinners that do not relayout their list

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-02 01:21:19 +00:00
parent 2889d59119
commit 7b045e5aab
13 changed files with 534 additions and 60 deletions
+11 -3
View File
@@ -33,9 +33,17 @@ class _AppSpinnerState extends State<AppSpinner>
super.dispose();
}
/// The indicator rebuilds on every animation frame. A rebuild under an
/// enclosing [LayoutBuilder] (a list row's) marks that builder for layout,
/// and a row in a list then relays the whole list out on every frame. Under
/// its own builder the rebuild lays out only this spinner (and, under loose
/// constraints, its parents up to the nearest relayout boundary); in a fixed
/// square, as in chat rows, it stops at the spinner.
@override
Widget build(BuildContext context) => CircularProgressIndicator(
controller: _controller,
strokeWidth: widget.strokeWidth,
Widget build(BuildContext context) => LayoutBuilder(
builder: (context, _) => CircularProgressIndicator(
controller: _controller,
strokeWidth: widget.strokeWidth,
),
);
}