TIMUIKitProfile constructor

const TIMUIKitProfile({
  1. Key? key,
  2. required String userID,
  3. @Deprecated("[operationListBuilder] and [bottomOperationBuilder] merged into [builder], please use it instead") Widget operationListBuilder(
    1. BuildContext context,
    2. V2TimFriendInfo friendInfo,
    3. V2TimConversation conversation,
    4. int friendType,
    5. bool isMute,
    )?,
  4. @Deprecated("[operationListBuilder] and [bottomOperationBuilder] merged into [builder], please use it instead") Widget bottomOperationBuilder(
    1. BuildContext context,
    2. V2TimFriendInfo? friendInfo,
    3. V2TimConversation? conversation,
    4. int friendType,
    )?,
  5. @Deprecated("This widget will no longer shows the personal info card and can not jump to personal info page automatically, please navigate to your custom personal info page manually and directly, you may refer to our demo") void handleProfileDetailCardTap(
    1. BuildContext context,
    2. V2TimUserFullInfo? userFullInfo
    )?,
  6. @Deprecated("This widget will no longer shows the personal info card and can not jump to personal info page automatically, please navigate to your custom personal info page manually and directly, you may refer to our demo") bool canJumpToPersonalProfile = false,
  7. @Deprecated("This widget will no longer shows the personal info card and will not support to change self avatar, please navigate to your custom personal info page manually and directly, you may refer to our demo") OnSelfAvatarTap? onSelfAvatarTap,
  8. TIMUIKitProfileController? controller,
  9. ProfileWidgetBuilder? profileWidgetBuilder,
  10. List<ProfileWidgetEnum>? profileWidgetsOrder,
  11. ProfileBuilder? builder,
  12. bool isSelf = false,
  13. ProfileLifeCycle? lifeCycle,
  14. bool smallCardMode = false,
})

Implementation

const TIMUIKitProfile(
    {Key? key,
    required this.userID,
    @Deprecated(
        "[operationListBuilder] and [bottomOperationBuilder] merged into [builder], please use it instead")
    this.operationListBuilder,
    @Deprecated(
        "[operationListBuilder] and [bottomOperationBuilder] merged into [builder], please use it instead")
    this.bottomOperationBuilder,
    @Deprecated(
        "This widget will no longer shows the personal info card and can not jump to personal info page automatically, please navigate to your custom personal info page manually and directly, you may refer to our demo")
    this.handleProfileDetailCardTap,
    @Deprecated(
        "This widget will no longer shows the personal info card and can not jump to personal info page automatically, please navigate to your custom personal info page manually and directly, you may refer to our demo")
    this.canJumpToPersonalProfile = false,
    @Deprecated(
        "This widget will no longer shows the personal info card and will not support to change self avatar, please navigate to your custom personal info page manually and directly, you may refer to our demo")
    this.onSelfAvatarTap,
    this.controller,
    this.profileWidgetBuilder,
    this.profileWidgetsOrder,
    this.builder,
    this.isSelf = false,
    this.lifeCycle,
    this.smallCardMode = false})
    : super(key: key);