featurestar

A star rating package with features

Getting Started

dependencies:  
  featurestar  : ^1.1.0
$  flutter pub get
import  'package:featurestar/featurestar.dart';

Example

FeatureStar(  
	spaceBetween: 15.0,
	data: [  
	  FeatureData(featureText: 'Landlord', rate: 4.8, starColor: Colors.red),  
	  FeatureData(featureText: 'Property', rate: 5.0),  
	  FeatureData(featureText: 'Neighborhood', rate: 4.5),  
	]
);

Customization

NameTypeDescription
featureTextStringfeature text for the star row
featureTextStyleTextStylestyle of the feature text
starColorColorcolor of the stars
starSizedoublesize of the stars
ratedoublerate of the stars (ex: 2.5)
rateTextStyleTextStylestyle of the rate text

Contributions

Contributions of any kind are more than welcome! Feel free to fork and improve in any way you want, make a pull request, or open an issue.

Libraries

featurestar
stardisplay