mirrored_repositories/Perfume-App-UI/lib
import 'package:flutter/material.dart';

class RatingStars extends StatelessWidget {

  final int rating;

  RatingStars(this.rating);

  @override
  Widget build(BuildContext context) {
    String stars = '';
    for(int i=0;i<rating;i++){
      stars += '⭐ ';
    }
    stars.trim();
    return Text(stars,style: TextStyle(fontSize: 14.0),);
  }
}
