Avatar constructor

Avatar({
  1. Key? key,
  2. required String faceUrl,
  3. V2TimUserStatus? onlineStatus,
  4. required String showName,
  5. bool isShowBigWhenClick = false,
  6. bool isFromLocalAsset = false,
  7. BorderRadius? borderRadius,
  8. int? type = 1,
})

Implementation

Avatar(
    {Key? key,
    required this.faceUrl,
    this.onlineStatus,
    required this.showName,
    this.isShowBigWhenClick = false,
    this.isFromLocalAsset = false,
    this.borderRadius,
    this.type = 1})
    : super(key: key);