Giter VIP home page Giter VIP logo

kartikeyaa-k / score-progress-pretty-display-package Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 5 MB

A Flutter package

Home Page: https://pub.dev/packages/score_progress_pretty_display

License: BSD 3-Clause "New" or "Revised" License

Kotlin 0.19% Swift 2.69% Objective-C 0.06% Dart 25.11% CMake 29.21% C++ 35.92% C 2.22% HTML 2.87% Shell 1.72%
animation credit-score dart flutter flutter-package progress-bar ui

score-progress-pretty-display-package's Introduction

A Flutter package to display and visualize credit card scores, or any other type of score, in a visually appealing way.

Previews

preview_1

preview_2

preview_3

Features

  • Customizable: You can customize the appearance of the score visualization, including the color, size, and animation.

  • Animated: The package includes animations to make the score visualization engaging and interactive.

  • Easy to Use: Integrating this package into your Flutter project is straightforward and requires minimal setup.

Installation

Add the following dependency to your pubspec.yaml file:

dependencies:
  score_progress_pretty_display: ^1.0.0 # Use the latest version

Usage

PrimaryArcAnimationComponent(
          score: 77,
          maxScore: 100,
          arcHeight: 340,
          arcWidth: 340,
          backgroundArcStrokeThickness: 10,
          progressArcStrokeThickness: 10,
          enableStepperEffect: false,
          isRoundEdges: false,
          minScoreTextFontSize: 30,
          maxScoreTextFontSize: 50,
          isRoundOffScoreWhileProgress: true,
          isRoundOffScore: true,
          showOutOfScoreFormat: true,
          isPrgressCurveFilled: false,
          scoreAnimationDuration: Duration(seconds: 2),
          scoreTextAnimationDuration: Duration(milliseconds: 500),
          scoreTextStyle: TextStyle(fontWeight: FontWeight.normal, height: 1),
          arcBackgroundColor: Colors.black12,
          arcProgressGradientColors: [
            Colors.yellowAccent,
            Colors.greenAccent,
            Colors.green,
          ],
        )

Example

For a complete example, check the example directory included with this package.

Contribution Guide

  1. Feel free to reach out for feedback/discussions on [email protected]

  2. Before submit PR, you need to set githook on your machine by paste and run this command from your terminal at root project

git config core.hooksPath .githooks
  1. When you add new feature/fix issues, please make sure you update the documentation
dart doc .
  1. If possible, I want to keep this package free from external dependencies.

Roadmap

  1. I am planning to add new animations in the next release.

score-progress-pretty-display-package's People

Contributors

kartikeyaa-k avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.