## API
### TDAvatar
#### 默认构造方法

| 参数 | 类型 | 默认值 | 说明 |
| --- | --- | --- | --- |
| key |  | - |  |
| size | TDAvatarSize | TDAvatarSize.medium | 头像尺寸 |
| type | TDAvatarType | TDAvatarType.normal | 头像类型 |
| shape | TDAvatarShape | TDAvatarShape.circle | 头像形状 |
| text | String? | - | 自定义文字 |
| radius | double? | - | 自定义圆角 |
| icon | IconData? | - | 自定义图标 |
| avatarUrl | String? | - | 头像地址 |
| avatarSize | double? | - | 自定义头像大小 |
| avatarDisplayList | List<String>? | - | 带操作\展示的头像列表 |
| displayText | String? | - | 纯展示类型末尾文字 |
| onTap |  Function()? | - | 操作点击事件 |
| defaultUrl | String | '' | 默认图片（本地） |
| avatarDisplayWidget | Widget? | - | 带操作头像自定义操作Widget |
| avatarDisplayBorder | double | 2 | 带操作\展示的头像描边宽度 |
| avatarDisplayListAsset | List<String>? | - | 带操作\展示的头像列表 (本地资源) |
| backgroundColor | Color? | - | 自定义文案时背景色 |
