v0.1.0
Removed
Breaking. Four names left the public API. All four were implementation
details that no documented API returned or accepted, and nothing in the
example or the docs used them:
ControlSizeResolver— the internalControlSize.resolve1Dhelper.SpinButton— chrome internal toInputNumber.detectBorderRadiusFromContext,detectBorderRadiusFromWidget.
Everything else the kit exported stays: types such as PopoverPlacement and
RailInsets appear in public signatures (Tooltip.placement,
TimelineToken.railInset), so callers need to be able to name them.
Changed
-
Breaking.
Timeline.itemsnow takesList<TimelineEntry>.
TimelineEntryis sealed over exactly two cases,TimelineItemand
TimelineGroupItem. Lists of plain items keep working unchanged.TimelineGroupItemused to extendTimelineItem, which gave it fourteen
inherited fields it never read — a caller reaching forcolorordoton a
group got silence — and let a group nest inside another group, which
compiled but drew an empty node. Neither is expressible now.
Fixed
Toureased its panel into place but dropped the mask on at full strength,
so opening a tour read as a flash. The dim now fades in over the theme's mid
duration, matching the popover barrier.
Added
- A snapshot test over the exported API (
test/public_api_test.dart). Any
change tolib/seed_ui.dart's surface now shows up as a reviewable diff,
and a bareexportwithout ashowclause fails the suite. CONTRIBUTING.md, issue forms and a pull-request template.- Tests for
TimelineGroupController, collapsible timeline groups, and the
horizontal and reversed timeline layouts.