Commit df0d10c
feat(scaffold): add StreamScaffold with floating app-bar / bottom-bar support
Composes appBar/body/bottom slots and, when a bar floats, enlarges the body's MediaQuery.padding by the bar's height so standard scrollables and SafeArea auto-inset. Floors the floating StreamBottomNavBar pill margin so it never sits flush when the device reports no bottom inset. Adds a gallery use-case and an inset-injection test suite.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent ab4b1fb commit df0d10c
7 files changed
Lines changed: 1113 additions & 264 deletions
File tree
- apps/design_system_gallery/lib
- app
- components/scaffold
- packages/stream_core_flutter
- lib/src/components
- scaffold
- toolbar
- test/components
- scaffold
- toolbar/goldens/ci
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| |||
1133 | 1135 | | |
1134 | 1136 | | |
1135 | 1137 | | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
1136 | 1160 | | |
1137 | 1161 | | |
1138 | 1162 | | |
| |||
0 commit comments