You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to hide item?
For example,I set itemCount =5,rating=3, then it will show 2 grey stars and I dont need them.
RatingBarIndicator(
itemBuilder: (context, index) => Icon(
Icons.star,
color: Colors.amber,
),
textDirection: TextDirection.rtl,
rating:3,
itemCount: 5,
itemSize: 23.0,
direction: Axis.horizontal,
)
The text was updated successfully, but these errors were encountered:
Is there a way to hide item?
For example,I set itemCount =5,rating=3, then it will show 2 grey stars and I dont need them.
RatingBarIndicator(
itemBuilder: (context, index) => Icon(
Icons.star,
color: Colors.amber,
),
textDirection: TextDirection.rtl,
rating:3,
itemCount: 5,
itemSize: 23.0,
direction: Axis.horizontal,
)
The text was updated successfully, but these errors were encountered: