DetailsConfiguration constructor

DetailsConfiguration({
  1. String? title,
  2. bool? showCloseButton,
  3. Icon? closeButtonIcon,
  4. bool disableUsersPresence = false,
  5. List<Widget>? appBarOptions,
  6. DetailsStyle? detailsStyle,
  7. ListItemStyle? listItemStyle,
  8. AvatarStyle? avatarStyle,
  9. StatusIndicatorStyle? statusIndicatorStyle,
  10. Widget? subtitleView({
    1. BuildContext context,
    2. Group? group,
    3. User? user,
    })?,
  11. bool? hideProfile,
  12. Widget? protectedGroupIcon,
  13. Widget? privateGroupIcon,
  14. AddMemberConfiguration? addMemberConfiguration,
  15. TransferOwnershipConfiguration? transferOwnershipConfiguration,
  16. BannedMemberConfiguration? bannedMemberConfiguration,
  17. GroupMembersConfiguration? groupMembersConfiguration,
  18. void stateCallBack(
    1. CometChatDetailsController
    )?,
  19. List<CometChatDetailsTemplate>? data(
    1. Group? group,
    2. User? user
    )?,
  20. Widget? customProfileView,
  21. CometChatTheme? theme,
  22. VoidCallback? onBack,
  23. OnError? onError,
  24. ConfirmDialogStyle? leaveGroupDialogStyle,
})

Implementation

DetailsConfiguration(
    {this.title,
    this.showCloseButton,
    this.closeButtonIcon,
    this.disableUsersPresence = false,
    this.appBarOptions,
    this.detailsStyle,
    this.listItemStyle,
    this.avatarStyle,
    this.statusIndicatorStyle,
    this.subtitleView,
    this.hideProfile,
    this.protectedGroupIcon,
    this.privateGroupIcon,
    this.addMemberConfiguration,
    this.transferOwnershipConfiguration,
    this.bannedMemberConfiguration,
    this.groupMembersConfiguration,
    this.stateCallBack,
    this.data,
    this.customProfileView,
    this.theme,
    this.onBack,
    this.onError,
    this.leaveGroupDialogStyle});