UserAvatarView constructor
const
UserAvatarView({
- Key? key,
- VoidCallback? onPressed,
- required String url,
- double size = 28,
- Color? ringColor,
- double ringWidth = 0,
- String placeholder = R.imgDefaultAvatar,
- bool showPlaceholder = true,
- bool debug = false,
- int nobilityType = NobleTypeEnum.none,
- bool showNobility = false,
- bool showLiving = false,
- int guardType = GuardTypeEnum.none,
Implementation
const UserAvatarView({
Key? key,
this.onPressed,
required this.url,
this.size = 28,
this.ringColor,
this.ringWidth = 0,
this.placeholder = R.imgDefaultAvatar,
this.showPlaceholder = true,
this.debug = false,
this.nobilityType = NobleTypeEnum.none,
this.showNobility = false,
this.showLiving = false,
this.guardType = GuardTypeEnum.none,
}) : super(key: key);