gauge_indicator 0.2.1 copy "gauge_indicator: ^0.2.1" to clipboard
gauge_indicator: ^0.2.1 copied to clipboard

outdated

An animated, highly customizable, opensource, Flutter gauge widgets.

example/lib/main.dart

import 'package:example/pages/linear_gauge_example_page/linear_gauge_example_page.dart';
import 'package:example/pages/linear_gauge_example_page/radial_gauge_example_page.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        tabBarTheme: const TabBarTheme(
          labelColor: Colors.black,
        ),
      ),
      home: const DefaultTabController(
        length: 2,
        child: Scaffold(
          appBar: TabBar(tabs: [
            Tab(
              text: 'Radial gauge',
            ),
            Tab(
              text: 'Linear gauge',
            ),
          ]),
          body: TabBarView(
            children: [
              RadialGaugeExamplePage(),
              LinearGaugeExamplePage(),
            ],
          ),
        ),
      ),
    );
  }
}
115
likes
0
pub points
95%
popularity

Publisher

verified publisherklyta.it

An animated, highly customizable, opensource, Flutter gauge widgets.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

collection, equatable, flutter

More

Packages that depend on gauge_indicator