statflow_dashboard_shared 1.0.0
statflow_dashboard_shared: ^1.0.0 copied to clipboard
Shared Flutter dashboard primitives for Statflow templates.
Shared Template Framework #
Reusable Flutter dashboard primitives that power the Statflow template packages.
This package contains the shared shell, section cards, theme tokens, layout wrappers, and state helpers used by the Statflow dashboard starters.
What You Get #
- shared dashboard theme and color tokens
- reusable scaffold and layout primitives
- KPI, trend, distribution, and status summary cards
- common loading, empty, and error state patterns
- shared demo data models for template packages
Installation #
dependencies:
statflow_dashboard_shared: ^1.0.0
Usage #
import 'package:flutter/material.dart';
import 'package:statflow_dashboard_shared/statflow_dashboard_shared.dart';
MaterialApp(
theme: buildDashboardTheme(),
home: const DashboardScaffold(
title: 'Analytics',
body: Center(child: Text('Build your own dashboard here')),
),
);
Areas #
shell/: app shell, sidebar, top bar, layout wrapperssections/: reusable content sections such as KPI grids, charts, tables, and summariestheme/: tokens for spacing, radius, typography, colors, and dashboard variantsdata/: demo data models, seed content, and helper utilitiesstates/: loading, empty, and error patterns
Goal #
Build shared primitives once so each dashboard can swap:
- branding
- copy
- demo data
- theme accents
without rebuilding the entire layout system.