v1.0.1
customgauge
다양한 세그먼트, 색상 및 현재 값과 텍스트를 표시하기 위한 사용자 정의 스타일 옵션이 있는 Flutter용 완전히 사용자 정의 가능한 게이지 위젯
17좋아요 1630일 다운로드40Pub 점수
플랫폼 정보 없음
Flutter용으로 완전히 사용자 정의 가능한 게이지 위젯
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Fully customizable Gauge widget for Flutter
https://github.com/jagan999/customgauge/raw/master/GaugeExample.jpgIn your pubspec.yaml, add the following dependency
dependencies:
customgauge: 1.0.0
import 'package:customgauge/customgauge.dart';
CustomGauge(
gaugeSize: 200,
segments: [
GaugeSegment('Low', 20, Colors.red),
GaugeSegment('Medium', 40, Colors.orange),
GaugeSegment('High', 40, Colors.green),
],
currentValue: 46,
displayWidget: Text('Fuel in tank', style: TextStyle(fontSize: 12)),
),
This project is licensed under the BSD 2-Clause license - see the LICENSE file for details