geekyants_flutter_gauges 1.0.0+4 geekyants_flutter_gauges: ^1.0.0+4 copied to clipboard
A linear gauge package for Flutter that displays progress and can be customized for appearance and behavior.
import 'package:flutter/material.dart';
import 'package:geekyants_flutter_gauges/geekyants_flutter_gauges.dart';
void main() {
runApp(
const MaterialApp(
debugShowCheckedModeBanner: false,
home: MyGaugeExample(),
),
);
}
class MyGaugeExample extends StatefulWidget {
const MyGaugeExample({Key? key}) : super(key: key);
@override
State<MyGaugeExample> createState() => _MyGaugeExampleState();
}
class _MyGaugeExampleState extends State<MyGaugeExample> {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: LinearGauge(
enableGaugeAnimation: true,
rulers: const RulerStyle(
rulerPosition: RulerPosition.bottom,
),
),
),
);
}
}