패키지, 저장소 및 앱 카테고리 검색

kdgaugeview 표지
패키지 상세v1.0.5

kdgaugeview

KDGaugeView는 Flutter용 간단하고 사용자 정의 가능한 게이지 컨트롤입니다

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
88
좋아요
25
Pub 점수
140

패키지 설치

flutter pub add kdgaugeview

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

KDGaugeView는 Flutter용 가볍고 사용자 정의 가능한 게이지 위젯으로, 원형 또는 반원형 범위 내에서 데이터 값을 시각적으로 표현하기 위해 설계되었습니다. 부드러운 애니메이션, 사용자 정의 가능한 색상, 레이블 및 나침반 스타일을 지원하여 대시보드, 메터, 성능 지표에 적합합니다. 이 패키지는 Android, iOS, Web, macOS, Windows, Linux 등 모든 주요 플랫폼과 호환됩니다. 간단한 API와 유연한 구성 옵션을 통해 개발자는 최소한의 노력으로 우아하고 상호작용 가능한 게이지를 만들 수 있습니다.

사용 사례

  • 대시보드 위젯
  • 성능 모니터링
  • 연료 수준 표시기
  • 온도 표시
  • 진행 상황 추적

주요 기능

  • 사용자 정의 가능한 나침반
  • 애니메이션 값 전환
  • 원형 및 반원형 레이아웃 지원
  • 사용자 지정 가능한 색상 및 레이블
  • 크로스 플랫폼 호환성
  • Flutter UI와의 간편한 통합

적합한 대상

  • 앱 내 데이터 시각화
  • 실시간 메트릭 표시
  • 사용자 친화적인 대시보드
  • 모바일 및 데스크톱 애플리케이션
  • 간단한 게이지 컴포넌트를 찾는 개발자

고려 사항

  • 기본 게이지 유형에 제한됨
  • 여러 나침반에 대한 내장 지원 없음
  • 복잡한 데이터 업데이트를 수동으로 처리해야 합니다
  • 매우 동적인 또는 다중 스케일 게이지에는 적합하지 않습니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

KdGaugeViewFlutter

KDGaugeView is a simple and customizable gauge control for Android inspired by KdGaugeView

The source code is 100% Dart.

pub package License

Motivation

I need some clean Guage view for my Flutter application.

Getting started

Installing

Add this to your package's pubspec.yaml file:

This library is posted in pub.dev

pubspec.yaml
dependencies:  
	kdgaugeview: ^1.0.4

Usage

After Importing this library, you can directly use this view in your Widget tree

import  'package:kdgaugeview/kdgaugeviewflutter.dart';
 GlobalKey<KdGaugeViewState> key = GlobalKey<KdGaugeViewState>();
KdGaugeView(
    key: key,
    minSpeed: 0,
    maxSpeed: 180,
    speed: 70,
    animate: true,
)

Update the speed of the Gauge View using this method

key.currentState.updateSpeed(120, animate: true,duration: Duration(milliseconds: 400));

Customization

Depending on your view you may want to tweak the UI. For now you can these custom attributes

Property Type Description
'speed' double Initial speed for the Gauge
'speedTextStyle' TextStyle Text Style for Speed Text

Screenshots

alt text        alt text

Author

  • Saurabh K Sharma - GIT

    I am very new to open source community. All suggestion and improvement are most welcomed.

Contributing

  1. Fork it (https://github.com/sorbh/kdgaugeViewflutter/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트