flutter_rating_null_safe 0.0.3 copy "flutter_rating_null_safe: ^0.0.3" to clipboard
flutter_rating_null_safe: ^0.0.3 copied to clipboard

Flutter Ratings is a simple package to show ratings in flutter.

Flutter Ratings Null Safety #

A Flutter package to show ratings in a beautiful way. It is highly customizable and easy to use. It is inspired by Flutter Rating package as this is now not null-saftey enable & maintainer not updatig the package.

pub version last commit license stars

Note: This plugin is still under development, anyone want to contribute on this project is most welcome. If you have any idea or suggestion, please feel free to contact me.

Features #

  • ✅ Null-safety enable
  • ✅ Easy to use
  • ✅ Highly customizable
  • ✅ Supports both Android and iOS
  • ✅ Supports both horizontal and vertical directions
  • ✅ Supports both full and half ratings

Getting started #

You just need to add the dependency in your pubspec.yaml file.

dependencies:
  flutter:
    sdk: flutter
  flutter_rating_null_safe: ^0.0.3

Usage #

Add the following import to your Dart code:

import 'package:flutter_rating_null_safe/flutter_rating_null_safe.dart';

then just use code like this:

FlutterRatings(
  rating: 3.5,
  starCount: 5,
  borderColor: Colors.grey,
  color: Colors.amber,
  allowHalfRating: true,
  size: 20,
  mainAxisAlignment: MainAxisAlignment.center,
  onRatingChanged: (rating) {
    print(rating);
  },
),

Screenshot (GIF) #

Flutter Rating UI (GIF)

Additional information #

Project Maintainer ❤️

Md. Al-Amin
Md. Al-Amin

✨VALUABLE CONTRIBUTORS✨

Happy Coding 👨‍💻

License #

This project is licensed under the MIT License - see the LICENSE file for details.

3
likes
160
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter Ratings is a simple package to show ratings in flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_rating_null_safe