Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

flutter_speedometer

flutter speedometer widget package.

getting started

in order to use this package, do import

import 'package:flutter_speedo meter/flutter_speedo meter.dart';

basic implementation can be done like below code:

import 'package:flutter/material.dart';
import 'package:flutter_speedo meter/flutter_speedo meter.dart';

void main() {
  runapp(
    center(
      child: speedo meter(
        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 speedo meter {

    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;
}

Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.