Avatar

An Avatar is a visual representation of a user, property, or entity.

Component checklist

Flutter

Is new design vision part implemented using new tokens?

Up to date

Resources

 

Examples

Media/Avatar


                                                        
                                                        
                                                            OptimusAvatar(
                                                                title: 'John Doe',
                                                                imageUrl: _avatarUrl
                                                                isIndicatorVisible: true,
                                                                size: OptimusWidgetSize.medium,
                                                                badgeUrl: _badgeUrl,
                                                              )
                                                        
                                                            

OptimusAvatar Example

API

Name

Description

Type

Default

title

The title of the Avatar.

String

 

imageUrl

The URL of the Avatar image.

String?

 

badgeUrl

The URL of the Avatar badge image.

String?

 

isIndicatorVisible

Whether the indicator should be visible.

VoidCallback?

false

size

The size of the Avatar.

OptimusWidgetSize

OptimusWidgetSize.medium