ez_gauge 0.0.3 copy "ez_gauge: ^0.0.3" to clipboard
ez_gauge: ^0.0.3 copied to clipboard

A new Flutter plugin.

example/lib/main.dart

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,
        )),
      ),
    );
  }
}
1
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A new Flutter plugin.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on ez_gauge