view_matrix 1.2.0 copy "view_matrix: ^1.2.0" to clipboard
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.

ViewMatrix #

ViewMatrix is a configurable Flutter framework for building structured List and Grid views with a single unified component.
It supports both API-driven data and local datasets, while offering a deeply customizable UI layer.


Key Capabilities #

Data Source Flexibility #

  • Supports GET, POST, PUT, DELETE.
  • Handles JSON request bodies.
  • Automatically detects multipart/form-data when files are included.
  • Supports header injection, tokens, and query parameters.
  • Customizable success status code validation.

Data Normalization #

ViewMatrix normalizes incoming API structures into a unified DataItem model with detection for:

  • Title
  • Description
  • Image URL
  • Status/Badge
  • Numeric values
  • Date fields

Developers can also override fields with explicit mapping via fieldMapping.

UI Customization #

  • Typography control for all text types.
  • Card-level customization (radius, elevation, borders).
  • Image styling with placeholders and fallback behavior.
  • Badge design configuration.
  • Loader behavior including size, color, stroke width, and full custom widget support.
  • Optional shimmer loading state.
  • Grid/List spacing and layout controls.
  • Divider rendering for list layouts.
  • Pluggable custom row/card builders for full UI override.

Installation #

dependencies:
  view_matrix: ^1.2.0
3
likes
160
points
6
downloads

Publisher

verified publisherronak-vasoliya.devservers.site

Weekly Downloads

A flexible and extensible Flutter framework for rendering list and grid views with unified API and local data handling.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, intl

More

Packages that depend on view_matrix