Read only rating bar is always aligning in centered position. Even wrapping in Align or Container Widget is not working to move in start position of line
Ratingbar has align property in widget tree
child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[ Text( 'A little bit about the site', style: TextStyle( fontSize: SizeConfig.safeBlockHorizontal * 5.5, color: Colors.black), ), Container( alignment: Alignment(-1, 0), child: RatingBar.readOnly( size: SizeConfig.safeBlockHorizontal * 5, initialRating: 3.5, isHalfAllowed: true, halfFilledIcon: Icons.star_half, filledIcon: Icons.star, emptyIcon: Icons.star_border, ), ), ], ),
this is my code snippet
Read only rating bar is always aligning in centered position. Even wrapping in Align or Container Widget is not working to move in start position of line
Ratingbar has align property in widget tree
child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[ Text( 'A little bit about the site', style: TextStyle( fontSize: SizeConfig.safeBlockHorizontal * 5.5, color: Colors.black), ), Container( alignment: Alignment(-1, 0), child: RatingBar.readOnly( size: SizeConfig.safeBlockHorizontal * 5, initialRating: 3.5, isHalfAllowed: true, halfFilledIcon: Icons.star_half, filledIcon: Icons.star, emptyIcon: Icons.star_border, ), ), ], ),
this is my code snippet