Skip to content

Default BottomBarLayout radius to 28 - #28

Merged
codenameakshay merged 2 commits into
mainfrom
t3code/002-default-layout-radius
Sep 18, 2026
Merged

codenameakshay merged 2 commits into
mainfrom
t3code/002-default-layout-radius

Conversation

@codenameakshay

Copy link
Copy Markdown
Owner

Summary

Passing layout: is treated as an explicit override, so BottomBarLayout.borderRadius replaced the built-in 28px decoration radius. The constructor default was BorderRadius.zero, which made the documented BottomBarLayout.adaptive(...) happy path draw a square bar.

Both constructors now default to a 28px radius. Pass BorderRadius.zero for a square bar. _effectiveBarBorderRadius is unchanged. Example demos are unchanged.

Test plan

  • fvm flutter analyze — no issues
  • fvm flutter test test/bottom_bar_layout_test.dart — 14 passed, including explicit-zero regressions
  • Package suite — 101 passed; default goldens unchanged

Notes

Independent of PR 27. Remote CI is not claimed green until it finishes.

@codenameakshay
codenameakshay merged commit fdf61c6 into main Sep 18, 2026
1 check passed
@codenameakshay
codenameakshay deleted the t3code/002-default-layout-radius branch September 20, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant