AnchorProfile constructor

const AnchorProfile({
  1. Key? key,
  2. required String faceUrl,
  3. required String nickName,
  4. bool isSubscribe = false,
  5. Widget? subInfo,
  6. bool isShowDefaultAction = true,
  7. void onAvatarTap()?,
  8. void onSubscribeTap()?,
  9. Widget? action,
})

Implementation

const AnchorProfile(
    {Key? key,
    required this.faceUrl,
    required this.nickName,
    this.isSubscribe = false,
    this.subInfo,
    this.isShowDefaultAction = true,
    this.onAvatarTap,
    this.onSubscribeTap,
    this.action})
    : super(key: key);