ez_gauge 0.0.3 ez_gauge: ^0.0.3 copied to clipboard
A new Flutter plugin.
import 'package:flutter/material.dart';
import 'package:ez_gauge/arc_ez_gague.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: GradientArcPainterDemo(
value: 0.8,
startColor: Colors.red,
endColor: Colors.orange,
width: 10,
startAngle: 0.7,
endAngle: 1.6,
backgroundColor: Colors.grey,
)),
),
);
}
}