Commit 40bbcd7
authored
Adjust README, Deprecate ThemedTable in favor of ThemedTable2 and Fix ResponsiveRow (#134)
This pull request introduces a new minor version (7.5.28) with two main
themes: deprecating the original table widgets and improving the
`ResponsiveRow` widget's spacing behavior. The deprecated table
components are now marked for removal in 8.0.0 in favor of
`ThemedTable2`. Additionally, `ResponsiveRow`'s `spacing` parameter now
correctly applies to both horizontal and vertical gaps, improving layout
consistency on all screen sizes. Documentation, tests, and versioning
have been updated accordingly.
**Deprecation of old table widgets:**
- Marked `ThemedTable`, `ThemedColumn`, `ThemedTableAction`,
`ThemedTableAvatar`, and related typedefs (`ValueBuilder`,
`WidgetBuilder`, `CellTap`, `CellColor`, `ValueBuilder2`,
`kThemedTableCanTrue`) as deprecated in favor of `ThemedTable2`; all
will be removed in version 8.0.0.
[[1]](diffhunk://#diff-76e1e4c2df253b998f743d40e9e83f340b667d15bf65e0dc762bcb91b2053babR3)
[[2]](diffhunk://#diff-f8bc969dbbbf4ea76cf889384c13afa02de80a6c701c0da79bb878c904f50ffaR3)
[[3]](diffhunk://#diff-d78f95b051e7bc1a1bf6173fcf98c7800e789890bcfaebb333eed6a8b4383d14R4-R23)
[[4]](diffhunk://#diff-87dbc3e0b982b5898c5fce6aeadcdaad53e025f1a6a3a619e3ebee67fbb2851eR3-R6)
[[5]](diffhunk://#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR3-R7)
**ResponsiveRow spacing improvements:**
- Updated `ResponsiveRow` so that the `spacing` parameter now applies to
both horizontal gaps between columns and vertical gaps between wrapped
rows (`Wrap.runSpacing`), fixing previous layout issues on mobile.
[[1]](diffhunk://#diff-dc2c8074e560830427c3c11082212de1410196d0111badccf675e6bbd0c4d666R69)
[[2]](diffhunk://#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR3-R7)
- Improved documentation in `.claude/skills/responsive-row/SKILL.md` and
`.claude/skills/responsive-row/references/api.md` to clarify that
`spacing` affects both axes.
[[1]](diffhunk://#diff-dd4e3cb259d4a91e608630d731f9cdfbe8d58721b7070ed7268755fb11a82772L40-R40)
[[2]](diffhunk://#diff-748ebe5caabc660edbf6c5b167695543e359f33dcb1d6f8faa17906a240e4d7cL38-R38)
- Added new tests to verify that `ResponsiveRow` sets both `spacing` and
`runSpacing` as intended.
**Versioning and metadata:**
- Bumped package version to `7.5.28` in `pubspec.yaml` and
`.claude/plugin.json`.
[[1]](diffhunk://#diff-8b7e9df87668ffa6a04b32e1769a33434999e54ae081c52e5d943c541d4c0d25L3-R3)
[[2]](diffhunk://#diff-ede8c46127dd0d9410cfb5a8fdf1f55257345e782db1a2f2aa5bdb73d9845a3cL4-R4)
- Updated `CHANGELOG.md` to reflect these changes.
**Other:**
- Fixed the plugin marketplace add command in `README.md` to use the
correct repository name (`layrz_theme`).16 files changed
Lines changed: 63 additions & 6 deletions
File tree
- .claude
- skills/responsive-row
- references
- example
- lib/views/table/src
- lib/src
- grid/src
- scaffolds/src
- table2/src
- table/src
- test/widgets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
0 commit comments