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

rating_summary のカバー
パッケージ詳細v1.0.4

rating_summary

製品の評価と平均評価を表示する要約統計ウィジェットを作成します。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
324
いいね数
54
Pub ポイント
160

パッケージをインストール

flutter pub add rating_summary

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

rating_summary パッケージは、個々の評価と平均評価を含む製品評価統計情報を表示するカスタマイズ可能なウィジェットを提供します。複数のプラットフォームでクリーンで直感的な形式で評価データを提示することで、ユーザーのフィードバックインターフェースを強化することを目的としています。このウィジェットは動的更新をサポートし、Flutter アプリケーションにスムーズに統合できます。シンプルさとパフォーマンスを重視して構築されており、開発者が広範なカスタムコーディングなしでプロフェッショナルな見た目の評価要約を迅速に実装できるようにしています。

用途

  • ECアプリでの製品評価の表示
  • レビューページに平均評価を表示する
  • ユーザーフィードバックインターフェースの強化
  • モバイルおよびウェブアプリに評価統計を統合する
  • 顧客満足度メトリクスの可視化
  • インタラクティブなレビュー・ダッシュボードの作成

主な機能

  • 事前構築された評価要約UI
  • 平均評価の表示をサポートしています
  • カスタマイズ可能な外観
  • クロスプラットフォーム互換性
  • Flutterとの簡単な統合
  • 動的データの更新

適している対象

  • ECアプリ開発者
  • レビューおよびフィードバックシステムデザイナー
  • モバイルおよびウェブアプリの作成者
  • Flutterを使用するUI/UXデザイナー
  • 迅速なレーティングウィジェットを探している開発者

注意事項

  • Flutter SDK のセットアップが必要です
  • レーティング固有の用途に限定
  • 組み込みの評価入力機能なし
  • 外部のGitHubリポジトリに依存しています
  • 複雑なデザインには追加のスタイリングが必要になる場合があります

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Rating Summary Widget

Create a summary statistic Widget to display the rating and average rating of a product.

Screenshot of the raring summary widget with the average rewiew indicator Screenshot of the raring summary widget without the average rewiew indicator

Installing:

  1. Add the dependency in your pubspec.yaml file.
dependencies:
  rating_summary: ^1.0.2+1
  1. Import the rating_summary package.
import 'package:rating_summary/rating_summary.dart';

Usage

RatingSummary(
  counter: 13,
  average: 3.846,
  showAverage: true,
  counterFiveStars: 5,
  counterFourStars: 4,
  counterThreeStars: 2,
  counterTwoStars: 1,
  counterOneStars: 1,
)
Parameters
Parameter Description Type Default Required
counter The total number of ratings. int - ✓
average The average rating. double 0.0 -
showAverage Show the average rating indicator. bool true -
averageStyle The style of the average rating indicator. TextStyle TextStyle(fontWeight: FontWeight.bold, fontSize: 40) -
counterFiveStars The number of 5 star ratings. int 0 -
counterFourStars The number of 4 star ratings. int 0 -
counterThreeStars The number of 3 star ratings. int 0 -
counterTwoStars The number of 2 star ratings. int 0 -
counterOneStars The number of 1 star ratings. int 0 -
labelCounterFiveStars The label of the 5 star rating. Widget Text( '5', style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold)) -
labelCounterFourStars The label of the 4 star rating. Widget Text( '4', style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold)) -
labelCounterThreeStars The label of the 3 star rating. Widget Text( '3', style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold)) -
labelCounterTwoStars The label of the 2 star rating. Widget Text( '2', style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold)) -
labelCounterOneStars The label of the 1 star rating. Widget Text( '1', style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold)) -
labelCounterFiveStarsStyle The style of the 5 star rating label. TextStyle TextStyle(fontSize: 14, fontWeight: FontWeight.bold) -
labelCounterFourStarsStyle The style of the 4 star rating label. TextStyle TextStyle(fontSize: 14, fontWeight: FontWeight.bold) -
labelCounterThreeStarsStyle The style of the 3 star rating label. TextStyle TextStyle(fontSize: 14, fontWeight: FontWeight.bold) -
labelCounterTwoStarsStyle The style of the 2 star rating label. TextStyle TextStyle(fontSize: 14, fontWeight: FontWeight.bold) -
labelCounterOneStarsStyle The style of the 1 star rating label. TextStyle TextStyle(fontSize: 14, fontWeight: FontWeight.bold) -
label The label of the rating summary. String "Rating" -
labelStyle The style of the label. TextStyle TextStyle(fontWeight: FontWeight.w600) -
color The primary color of the rating summary. Color Colors.amber -
backgroundColor The background color of the rating summary. Color Color(0xFFEEEEEE) -
space The space between the label and the bar. double 20 -
thickness The thickness of the bar. doubel 10 -
starColor The color of stars. Color Colors.amber -
alignment The alignment of rating summary. CrossAxisAlignment CrossAxisAlignment.center -

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

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

データはまだありません。