percentify 1.0.2 copy "percentify: ^1.0.2" to clipboard
percentify: ^1.0.2 copied to clipboard

percentage indicator package

Percentify #

Percentify is a Flutter package to show different indicators with percentage.You can customize these indicators as you want

Types of indicators #

  • Rounded linear percent indicator
  • Square linear percent indicator
  • Rounded circular percent indicator
  • Square circular percent indicator

Features #

  • Customize percent indicators
  • Add any child widget into indicators
  • Use predefined indicators
  • Create customized indicators from scratch
  • Implementation is very easy

Usage of the components #

Rounded Circular Percentify
 @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: RoundedCircularPercentify(
          40, // the value of progress
          backgroundColor: Colors.black,
          valueColor: Colors.blueAccent,
          strokeWidth: 15,
          valueStrokeWidth: 25,
          child: const SizedBox(
            width: 200,
            height: 200,
            child: Center(
                child: Text(
              "${40}%",
              style: TextStyle(fontSize: 30, fontWeight: FontWeight.bold),
            )),
          ),
        ),
      ),
    );
  }
Rect Circular Percentify
 @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: RectCircularPercentify(
          22, // the value of progress
          backgroundColor: Colors.red,
          valueColor: Colors.blue,
          strokeWidth: 20,
          valueStrokeWidth: 35
        ),
      ),
    );
  }
Rounded Linear Percentify
 @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: RoundedLinearPercentify(
          22, // the value of progress
          backgroundColor: Colors.red,
          valueColor: Colors.blue,
          strokeWidth: 20,
          valueStrokeWidth: 35
        ),
      ),
    );
  }
Rect Linear Percentify
 @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: RectLinearPercentify(
          22, // the value of progress
          backgroundColor: Colors.red,
          valueColor: Colors.blue,
          strokeWidth: 20,
          valueStrokeWidth: 35
        ),
      ),
    );
  }

Contributing #

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Source Control #

GitHub

License #

MIT

1
likes
90
pub points
74%
popularity

Publisher

unverified uploader

percentage indicator package

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on percentify