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

ff_stars のカバー
パッケージ詳細v3.0.0

ff_stars

スター評価コンポーネント。強力で使いやすく、非常にカスタマイズ可能。

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

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

flutter pub add ff_stars

パッケージ概要

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

ff_stars は、ユーザーのフィードバックに適したカスタマイズ可能なスター評価コンポーネントを提供するFlutterパッケージです。強力かつ使いやすく設計されており、幅広いカスタマイズオプションを備えたインタラクティブなスター評価を簡単に作成できます。Android、iOS、Web、macOS、Windows、Linuxなど複数のプラットフォームをサポートしており、デバイス間で一貫したUIを実現します。アプリ内のレビュー、評価、フィードバックフォームに最適です。クリーンで構造が明確なコードと積極的なメンテナンスにより、シンプルながら効果的な評価インタラクションを通じてユーザー参加度を高めます。

用途

  • ユーザー評価システム
  • 製品評価インターフェース
  • フィードバック収集フォーム
  • 調査アプリケーション
  • インタラクティブなアプリ評価
  • コンテンツスコアリング

主な機能

  • 非常にカスタマイズ可能な星の外観
  • クロスプラットフォーム互換性
  • pubを介したシンプルな統合
  • タップして評価する操作のサポート
  • 星の数を設定可能
  • スムーズなアニメーション効果

適している対象

  • ユーザー評価が必要なアプリ
  • フィードバック駆動型アプリケーション
  • ECプラットフォーム
  • レビューに基づくサービス
  • 再利用可能なコンポーネントを探しているUIデザイナー

注意事項

  • 基本的なFlutterの知識が必要です
  • カスタマイズにはCSSに似たスタイルが必要になる場合があります
  • 星評価に基づくフィードバックに限定
  • レーティング以外の入力には適していません
  • 追加の状態管理が必要になる可能性があります
  • 外部のGitHubリポジトリに依存しています

元の README

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

ff_stars

Function Introduction

  1. Support the full star, half-star arbitrary star.
  2. Support Click & Drag and adjust to set the minimum points.
  3. Support custom stars pictures, size, spacing, quantity.
  4. Support choice uses "Enter Act (default)" or "Since the Four Raidth (Recent Value)" to take the final value.

Show results

  1. Some network environments may not be able to view the renderings.
  2. Git picture is slower, download Demo directly.
  3. If you encounter "Could not build the application for the simulator", please use "flutter clean".
pub
// integrated
dependencies:
  ff_stars: ^3.0.0 // Support null safety (continuous maintenance)
  ff_stars: ^0.1.6 // Do not support null safety (follow-up no longer maintenance)

// Introduce
import 'package:ff_stars/ff_stars.dart';

Instructions

FFStars(
  normalStar: Image.asset("assets/normalImage.png"),
  selectedStar: Image.asset("assets/selectedImage.png"),
  starsChanged: (realStars, selectedStars) {
    print("real: $selectedStars, final: $realStars");
  },
  step: 0.01,
  defaultStars: 3.5,
  // starCount: 5,
  // starHeight: 40,
  // starWidth: 40,
  // starMargin: 20,
  // justShow: true,
  // rounded: true,
  // followChange: true,
),

GitHub

https://github.com/flutting/ff_stars

カテゴリー

ソースリポジトリ

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