flutter_speedometer_gauge 0.1.0 copy "flutter_speedometer_gauge: ^0.1.0" to clipboard
flutter_speedometer_gauge: ^0.1.0 copied to clipboard

Lightweight, fully-customizable speedometer / gauge widget for Flutter with segments, animated needle, ticks, and labels. Easy to drop into dashboards and automotive-style UIs.

flutter_speedometer_gauge #

A lightweight, fully-customizable speedometer / gauge widget for Flutter with segments, ticks, labels, and an animated needle.

Features #

  • Animated needle with easing
  • Colored arc segments (with optional per-segment thickness)
  • Major/minor ticks + numeric labels
  • Customizable start/sweep angles (e.g., 240° automotive layout)
  • Center value + optional units

Demo #

Demo

Install #

dependencies:
  flutter_speedometer_gauge: ^0.1.0

Usage #

import 'package:flutter_speedometer_gauge/flutter_speedometer_gauge.dart';

SpeedometerGauge(
  min: 0,
  max: 240,
  value: 126,
  units: 'km/h',
  segments: const [
    GaugeSegment(to: 120, color: Colors.green),
    GaugeSegment(to: 180, color: Colors.orange),
    GaugeSegment(to: 240, color: Colors.red),
  ],
  // Optional:
  size: 260,
  startAngleDeg: 150,
  sweepAngleDeg: 240,
  majorTickCount: 7,
  minorTicksPerInterval: 4,
);

Tips #

  • For compact UIs, reduce size and majorTickCount.
  • For a semicircle gauge, set startAngleDeg: 180 and sweepAngleDeg: 180.
  • To hide ticks entirely, set showTicks: false.
0
likes
140
points
110
downloads

Publisher

unverified uploader

Weekly Downloads

Lightweight, fully-customizable speedometer / gauge widget for Flutter with segments, animated needle, ticks, and labels. Easy to drop into dashboards and automotive-style UIs.

Repository (GitHub)
View/report issues

Topics

#gauge #chart #dashboard #speedometer #visualization

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_speedometer_gauge