Skip to content

Read only rating bar always aligned center #2

@syedfahimabrar

Description

@syedfahimabrar

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
image
Ratingbar has align property in widget tree
image
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions