The Stac CircleAvatar allows you to build a Flutter circle avatar widget using JSON. To know more about the circle avatar widget in Flutter, refer to the official documentation.Documentation Index
Fetch the complete documentation index at: https://docs.stac.dev/llms.txt
Use this file to discover all available pages before exploring further.
Properties
| Property | Type | Description |
|---|---|---|
| child | StacWidget | The widget to display inside the circle avatar. |
| backgroundColor | StacColor | The background color of the circle avatar. |
| backgroundImage | String | The background image of the circle avatar. |
| foregroundImage | String | The foreground image of the circle avatar. |
| onBackgroundImageError | StacAction | The error widget to display if the background image fails to load. |
| onForegroundImageError | StacAction | The error widget to display if the foreground image fails to load. |
| foregroundColor | StacColor | The color of the circle avatar’s foreground elements. |
| radius | double | The radius of the circle avatar. |
| minRadius | double | The minimum radius of the circle avatar. |
| maxRadius | double | The maximum radius of the circle avatar. |
Example
- Dart
- JSON
- Preview