flutter_ratingreview 1.0.0 flutter_ratingreview: ^1.0.0 copied to clipboard
Flutter Rating Review Package.
import 'package:flutternews/CustomWidgets/CustomStarRatingIndexer.dart';
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: RatingReviewIndicator(fontName: R.strings.fontName,barBackgroundColor: Color(0xFFFBEAFF), barTintColor: Color(0xFF9378FF),
headerText: "Rating",headerTextColor: Colors.black,indexingColor: Colors.black,starFiveValue: 30,starFourValue: 60,
starRating: "5.0",starRatingTextColor: Colors.black,starThreeValue: 90,startOneValue: 10,starTwoValue: 100,
),
);
}
}