Search packages, repositories and app categories

ff_stars cover
Package detailsv3.0.0

ff_stars

Star Evaluation Components. Powerful and easy to use. Highly customized.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
331
Likes
6
Pub points
160

Install package

flutter pub add ff_stars

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

ff_stars is a Flutter package providing customizable star evaluation components for user feedback. Designed to be both powerful and easy to use, it allows developers to create interactive star ratings with extensive customization options. The package supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, ensuring consistent UI across devices. It's ideal for reviews, ratings, and feedback forms in apps requiring intuitive visual feedback. With clean, well-structured code and active maintenance, ff_stars enhances user engagement through simple yet effective rating interactions.

Use cases

  • User review systems
  • Product rating interfaces
  • Feedback collection forms
  • Survey applications
  • Interactive app evaluations
  • Content scoring

Key features

  • Highly customizable star appearance
  • Cross-platform compatibility
  • Simple integration via pub
  • Support for tap-to-rate interactions
  • Configurable number of stars
  • Smooth animation effects

Suitable for

  • Apps needing user ratings
  • Feedback-driven applications
  • E-commerce platforms
  • Review-based services
  • UI designers seeking reusable components

Considerations

  • Requires basic Flutter knowledge
  • Customization may need CSS-like styling
  • Limited to star-based feedback
  • Not suitable for non-rating input
  • May require additional state management
  • Depends on external GitHub repository

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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

Categories

Source repository

Projects using this package