パッケージ、リポジトリ、アプリカテゴリを検索

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

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト