Commit 8aa70fa
authored
Enhance ResponsiveRow/Col documentation and add tab view features (#129)
This pull request introduces version 7.5.23 and brings significant
improvements and documentation to the codebase, especially around the
`ThemedTabView` and the new responsive layout widgets. It includes bug
fixes, new features, comprehensive widget tests, and detailed skill
documentation for both Conventional Commits and responsive grid
components.
Key changes:
### ThemedTabView Improvements and Fixes
- Fixed multiple issues in `ThemedTabView`:
- Removed a stray `debugPrint` statement from production code.
- Improved `initialPosition` handling by clamping out-of-bounds indices.
- Eliminated unnecessary `setState()` calls in arrow button handlers.
- Ensured arrow button disabling state updates correctly during
navigation.
- Enhanced active-state detection to include alpha channel in color
comparison.
- Refactored code to use named constants for magic numbers.
- Added the `wrapArrowNavigation` parameter for circular tab navigation,
allowing left/right arrows to wrap around tab boundaries.
### Testing Enhancements
- Added comprehensive widget tests for:
- `ThemedTabView` (covering rendering, navigation, callbacks, arrow
state, clamping, persistence, styles, and more).
- `ResponsiveRow` and `ResponsiveCol` (covering rendering, spacing,
alignment, builder usage, breakpoint logic, and integration).
- `Sizes` enum (covering grid size and width calculations).
### Documentation Additions
- Added detailed skill documentation:
- For `ThemedTabView`, including parameter references, usage, best
practices, and testing.
- For `ResponsiveRow` and `ResponsiveCol`, covering parameters,
breakpoint logic, responsive behavior, best practices, and layout
patterns.
- For Conventional Commits, providing a thorough guide on semantic
commit message formatting, changelog impact, and best practices.
### Responsive Layout System
- Introduced `ResponsiveRow` and `ResponsiveCol` widgets, implementing a
Material 3 responsive 12-column grid system with breakpoint-based
sizing, spacing, alignment, and builder pattern support.
### Version Bump
- Updated the plugin version to 7.5.23.19 files changed
Lines changed: 3722 additions & 39 deletions
File tree
- .claude-plugin
- skills
- conventional-commits
- responsive-row
- themed-tabview
- example
- lib
- store
- views
- tabs
- src
- lib/src/tabs/src
- test/widgets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
0 commit comments