v1.0.2
flutter_speedometer
Flutter 개발자가 앱에 속도계를 쉽게 통합할 수 있도록 도와주는 간단한 위젯이며, 사용자 정의 가능한 옵션을 제공합니다
15좋아요 6330일 다운로드40Pub 점수
플랫폼 정보 없음
Flutter 스피드 메터 위젯 패키지
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Flutter Speedometer widget package

In order to use this package, do import
import 'package:flutter_speedometer/flutter_speedometer.dart';
Basic implementation can be done like below code:
import 'package:flutter/material.dart';
import 'package:flutter_speedometer/flutter_speedometer.dart';
void main() {
runApp(
Center(
child: Speedometer(
size: 250,
minValue: 0,
maxValue: 180,
currentValue: 76,
warningValue: 150,
displayText: 'mph',
),
),
);
}
You can find more examples from Example App
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 |
class Speedometer {
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;
}
Feel free to leave any feedback for helping support this package 🍻
의존성 목록 2 개
{"sdk":"flutter"}{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗