You can use Icon widget as below:
Icon(Icons.star),Icon(Icons.star_border),Icon(Icons.half_border),Icon(Icons.stars)
If your star is an image use [ImageIcon],but ensure that icons is from [AssetImage] or [ImageProvider]s
You can have stars like buttons for rating in UI,use IconButton.This post tells only the ways to add a star in UI .