flutter_device_ring 0.2.1
flutter_device_ring: ^0.2.1 copied to clipboard
A customizable traffic utilization ring gauge widget for Flutter. Displays network utilization with animated arcs, tier colors, and smooth state transitions.
0.2.1 #
- New:
labelBackgroundDecorationparameter — add a background (color, border, shadow) behind the label for readability over overlapping elements like connection lines. - New:
labelBackgroundPaddingparameter — inner padding when background decoration is set. - Updated example app with label background decoration demos.
0.2.0 #
- New:
labelWidgetparameter — display any custom widget below the ring (multi-line text, IP addresses, port counts, status badges, etc.). Takes precedence overlabel. - New:
labelMaxWidthparameter — constrain the label area width (defaults to ring size). - New:
labelPaddingparameter — control spacing between ring and label area. - Label area height is now dynamic instead of fixed at 20px, supporting multi-line content.
- Updated example app with "Custom Label Widgets" gallery section.
0.1.1 #
- Fix: Child widget (images, SVGs) no longer overflows and covers ring arcs — automatically constrained to fit inside the ring with
FittedBoxscaling. - New:
glowIntensityparameter (0.0–1.0) to control the prominence of the outer glow halo. - Updated example app with glow intensity slider.
- Updated README with custom image and glow intensity usage examples.
0.1.0 #
- Initial release of
flutter_device_ring. DeviceRingwidget with dual inbound/outbound traffic arcs.- Tier-based coloring (low, medium, high, critical).
- Animated arc transitions with configurable duration.
- Optional pulsing glow effect.
- Info overlay showing percentage and tier badges.
DeviceRingThemefor full color and style customization.- Direction labels (IN/OUT) on ring sides.