testsAndMisc/billsplit/lib/ui
Krzysztof kuhy Rudnicki 54054e7cf9
Some checks failed
Pre-commit checks / pre-commit (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
billsplit CI / quality (push) Has been cancelled
billsplit: use the shared SectionHeader instead of the local copy
`design_system`'s `SectionHeader` was built as the union of untools'
`_SectionHeading` and billsplit's `_SectionHeader` -- its `defaultPadding`
is `fromLTRB(md, md, md, xs)` specifically to reproduce billsplit's
`(16, 16, 16, 4)`. The shared widget shipped and untools' donor was
deleted, but billsplit's never was: the file has imported
`package:design_system/design_system.dart` since the migration while still
defining and using its own copy. That is a duplicate shipped rather than
removed, which is the failure the extraction phases exist to prevent.

Verified equivalent rather than assumed: padding `(16,16,16,4)`, glyph
origin `(16,16)`, line height 24.0 and type size 16.0 are all identical
to the retired widget. The one difference is that the shared version wraps
the title in `Row`/`Expanded` to leave room for its optional trailing
action, so the `Text` box fills the row instead of shrinking to content --
invisible for a left-aligned title with no action, but it does change
hit-test width, so it is worth stating rather than calling a pure no-op.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U4Rj3s7K2qzrLNgJqqPhno
2026-08-15 15:26:55 +02:00
..
assignment_sheet.dart billsplit: adopt the shared palette, retire the teal seed 2026-08-14 23:35:08 +02:00
home_screen.dart billsplit: adopt the shared palette, retire the teal seed 2026-08-14 23:35:08 +02:00
item_edit.dart billsplit: adopt the shared palette, retire the teal seed 2026-08-14 23:35:08 +02:00
people_screen.dart billsplit: use the shared SectionHeader instead of the local copy 2026-08-15 15:26:55 +02:00
receipt_screen.dart billsplit: adopt the shared palette, retire the teal seed 2026-08-14 23:35:08 +02:00