view_matrix 1.2.0
view_matrix: ^1.2.0 copied to clipboard
A flexible and extensible Flutter framework for rendering list and grid views with unified API and local data handling.
Changelog #
1.2.0 — Initial Stable Release #
Core Features #
- Introduced ViewMatrix component with support for:
- List and Grid presentation modes
- API-based and local dataset inputs
- GET, POST, PUT, DELETE operations
- JSON body and multipart/form-data auto-detection
- Customizable success status validation
Data Processing Enhancements #
-
Added DataItem model with dynamic auto-detection for:
- Title
- Description
- Image
- Badge/status field
- Numeric value
- Date and timestamp fields
-
Added field mapping support for manual override of incoming API fields.
UI Configuration Layer #
- Added ViewMatrixUIConfig for complete design control, including:
- Typeface configuration (title, description, badges, numbers, dates)
- Card styling: radius, elevation, borders, padding, margins
- Image layout: height, radius, fit, placeholders
- Badge layout: radius, background, border, padding
- Loader customization with optional custom widget
- Optional shimmer loading
- Divider controls for list mode
- Override-based custom item builders (grid and list)
Example Project #
- Included full demonstration:
- API GET example
- API POST example (JSON + multipart-aware)
- Local dataset example
- Fully custom builder example