8

I have a flutter app and I want to be able to display the check mark icon in a CircleAvatar widget. Is this possible to do with the existing icons and so I don't have to download a check mark icon into my assets?

2 Answers 2

6

Yes you can do it by using Icon widget in your circleAvatar

For example

CircleAvatar(
  child:Icon(
    Icons.check
  ),
),
Sign up to request clarification or add additional context in comments.

Comments

4

Here is working Example

class MyWidget extends StatelessWidget {
      @override
      Widget build(BuildContext context) {
        return CircleAvatar(  child:Icon(
          Icons.check,
          color: Colors.pink,
          size: 24.0,
          semanticLabel: 'Text to announce in accessibility modes',
        )
    );
      }
    }

enter image description here

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.