backgroundColor property Null safety

Color? backgroundColor

The color with which to fill the circle. Changing the background color will cause the avatar to animate to the new color.

If a backgroundColor is not specified, the theme's ThemeData.primaryColorLight is used with dark foreground colors, and ThemeData.primaryColorDark with light foreground colors.


final Color? backgroundColor;