I am finding "solutions" suggesting using the small rating bar style, or to just change the size of the stars with a custom style, but I don't want it to be fixed. I just want the 5 stars bar to match the constraints?
You can use flexible RatingBar FlexibleRatingBar