custom_indicator 0.0.8 copy "custom_indicator: ^0.0.8" to clipboard
custom_indicator: ^0.0.8 copied to clipboard

Simple & customizable circle & linear indicator, you can customize the indicator to make it compatible with your usage.

example/example.dart

import 'package:flutter/material.dart';
import 'package:custom_indicator/custom_indicator.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: 'Time Ago',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      body: Center(
        child: CustomCircleIndicator(
          value: 50,
          backColor: Colors.red,
          checkOnFinish: true,
        ),
      ),// This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}
0
likes
140
points
50
downloads

Publisher

unverified uploader

Weekly Downloads

Simple & customizable circle & linear indicator, you can customize the indicator to make it compatible with your usage.

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on custom_indicator