INNER CODE UNIT · Dart

RatingWidget

sarbagyastha/flutter_rating_bar · lib/src/rating_bar.dart:8

class RatingWidget {
  /// Creates [RatingWidget] with the given [full], [half] and [empty] widgets.
  const RatingWidget({
    required this.full,
    required this.half,
    required this.empty,
  });

  /// Defines widget to be used as rating bar item
  /// when the item is completely rated.
  final Widget full;

  /// Defines widget to be used as rating bar item
  /// when only the half portion of item is rated.
  final Widget half;

  /// Defines widget to be used as rating bar item
  /// when the item is unrated.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…