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

rating_dialog のカバー
パッケージ詳細v2.0.4

rating_dialog

Flutter用の美しいカスタマイズ可能なスター評価ダイアログパッケージ

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
2110
いいね数
250
Pub ポイント
150

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

flutter pub add rating_dialog

パッケージ概要

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

Flutterアプリケーション向けに視覚的に魅力的で高レベルにカスタマイズ可能なスター評価ダイアログです。開発者がアプリに洗練された評価プロンプトを簡単に統合できるようにし、ユーザーが直感的な星選択でフィードバックを提供できるようにします。色、アイコン、テキスト、レイアウトのカスタマイズに対応しており、アプリテーマとのシームレスな統合を実現します。すべての主要プラットフォームで利用可能で、戦略的なタイミングでの評価促進によりユーザー参加を高めます。ユーザーへの干渉を最小限に抑えながらフィードバックを収集するのに最適です。

用途

  • アプリ使用後のユーザーのフィードバックを収集する
  • タスク完了後のプロンプト評価
  • インタラクティブなダイアログを通じたユーザー参加の向上
  • モバイルおよびウェブアプリにフィードバック収集を統合する
  • アプリのブランディングに合わせてレーティングUIをカスタマイズする

主な機能

  • カスタマイズ可能な星の外観と色
  • カスタマイズ可能なダイアログタイトルと説明
  • 複数のプラットフォームのサポート
  • pub.dev を通じた簡単な統合
  • デバイス間でのレスポンシブデザイン
  • ユーザー評価提出のオプション

適している対象

  • モバイルおよびウェブアプリ開発者
  • ユーザーのフィードバックを求めているアプリ
  • 洗練されたUIコンポーネントを必要とするプロジェクト
  • 最小限のセットアップを希望する開発者
  • ユーザー体験に焦点を当てたチーム

注意事項

  • レーティングの永続性を確保するための追加ロジックが必要になる可能性があります
  • カスタムスタイルには、プラットフォーム固有の調整が必要になる場合があります
  • 星評価のみに限定
  • 組み込みの分析機能やデータトラッキングなし
  • 更新には外部リポジトリに依存しています

元の README

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

rating_dialog

A beautiful and customizable Rating Dialog package for Flutter! Supports all platforms that flutter supports!

Import the rating_dialog package

To use the rating_dialog plugin, follow the plugin installation instructions.

Use the package

Add the following import to your Dart code:

import 'package:rating_dialog/rating_dialog.dart';

We use the flutter's showDialog function to show our Rating Dialog

    final _dialog = RatingDialog(
      initialRating: 1.0,
      // your app's name?
      title: Text(
        'Rating Dialog',
        textAlign: TextAlign.center,
        style: const TextStyle(
          fontSize: 25,
          fontWeight: FontWeight.bold,
        ),
      ),
      // encourage your user to leave a high rating?
      message: Text(
        'Tap a star to set your rating. Add more description here if you want.',
        textAlign: TextAlign.center,
        style: const TextStyle(fontSize: 15),
      ),
      // your app's logo?
      image: const FlutterLogo(size: 100),
      submitButtonText: 'Submit',
      commentHint: 'Set your custom comment hint',
      onCancelled: () => print('cancelled'),
      onSubmitted: (response) {
        print('rating: ${response.rating}, comment: ${response.comment}');

        // TODO: add your own logic
        if (response.rating < 3.0) {
          // send their comments to your email or anywhere you wish
          // ask the user to contact you instead of leaving a bad review
        } else {
          _rateAndReviewApp();
        }
      },
    );

    // show the dialog
    showDialog(
      context: context,
      barrierDismissible: true, // set to false if you want to force a rating
      builder: (context) => _dialog,
    );

Example

See the example application source for a complete sample app using the rating_dialog package.

Issues and feedback

Please file issues to send feedback or report a bug. Thank you!

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

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