Skip to content

Commit 8aa70fa

Browse files
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.
2 parents 480126e + e45e508 commit 8aa70fa

19 files changed

Lines changed: 3722 additions & 39 deletions

File tree

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "layrz_theme",
33
"description": "Claude Code skills for layrz_theme Flutter widget library",
4-
"version": "7.5.22"
4+
"version": "7.5.23"
55
}

0 commit comments

Comments
 (0)