animated_stat_widgets 0.2.0
animated_stat_widgets: ^0.2.0 copied to clipboard
Animated KPI, progress, bar, and skeleton widgets for Flutter dashboards and analytics UIs.
Changelog #
0.2.0 #
Added #
- All widgets now honor
MediaQuery.disableAnimationsfor reduced-motion support, rendering the final state without tweening. - Default colors and text styles fall back to the ambient
Themewhen not explicitly provided. - Public API is fully documented with dartdoc.
BarDatanow implements value equality (==andhashCode).
Fixed #
ShimmerSkeletonnow picks updurationchanges viadidUpdateWidgetinstead of holding the initial value.AnimatedBarGroupin horizontal mode no longer crashes inside unbounded vertical contexts (e.g. aListView).AnimatedCounter's default formatter is computed from the target value once per build, eliminating mid-animation jitter between integer and 2-decimal styles.
Changed (breaking) #
AnimatedCounter.formatteris now nullable; the default is selected at build time based on whethervalueis integer.CircularProgressRing.colorandbackgroundColorare now nullable, falling back to the theme's color scheme.ShimmerSkeleton.baseColorandhighlightColorare now nullable, falling back to theme-derived neutrals.
0.1.0 #
- Initial public release.
- Added
AnimatedCounterfor animated KPI totals with custom formatting support. - Added
CircularProgressRingfor painter-based progress summaries with clamped values. - Added
AnimatedBarGroupfor compact vertical and horizontal comparisons. - Added
ShimmerSkeletonfor lightweight loading placeholders. - Added a runnable example app with Windows desktop support.
- Added widget tests covering formatting, clamping, callbacks, and loading behavior.