indzooomspeedgauge 0.0.1 copy "indzooomspeedgauge: ^0.0.1" to clipboard
indzooomspeedgauge: ^0.0.1 copied to clipboard

Simple widget that let Flutter Devs can easily integrate speedgauge to their apps with customizable options

indzooomspeedgauge #

Flutter IndzoomSpeedGauge widget package

Getting Started #

In order to use this package, do import

import 'package:indzooomspeedgauge/indzooomspeedgauge.dart';

Basic implementation can be done like below code:

import 'package:flutter/material.dart';
import 'package:indzooomspeedgauge/indzooomspeedgauge.dart';

void main() {
  runApp(
    Center(
      child: IndzoomSpeedGauge(
        size: 250,
        minValue: 0,
        maxValue: 180,
        currentValue: 76,
        warningValue: 150,
        displayText: 'mph',
      ),
    ),
  );
}

Example App #

You can find more examples from Example App

API #

In this table, you can find all attributes provided by this package:

Attribute Default value Description
size 200 Min value to be displayed
minValue 0 Min value to be displayed
maxValue 100 Max value to be displayed
currentValue 0 Set the current value
warningValue 80 Set the current value

Objects #

class IndzoomSpeedGauge {

    final double size;
    final int minValue;
    final int maxValue;
    final int currentValue;
    final int warningValue;
    final Color backgroundColor;
    final Color meterColor;
    final Color warningColor;
    final Color kimColor;
    final TextStyle displayNumericStyle;
    final String displayText;
    final TextStyle displayTextStyle;
}

Feedback #

Feel free to leave any feedback for helping support this package 🍻

0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Simple widget that let Flutter Devs can easily integrate speedgauge to their apps with customizable options

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on indzooomspeedgauge