SendbirdChatWidget class

SendbirdChatWidget

Constructors

SendbirdChatWidget()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

buildNotificationBubbleWidget({required NotificationMessage message, required dynamic onError(NotificationWidgetError error), dynamic onClick(NotificationMessage message, NotificationView view, NotificationAction action)?, NotificationThemeMode themeMode = NotificationThemeMode.light}) Widget?
Builds the notification bubble widget for a notification message sent on Sendbird Dashboard. themeMode is only applied when the theme colors setting is Use both light and dark themes on Sendbird Dashboard.
cacheNotificationInfo() Future<bool>
To cache the notification settings and templates set on Sendbird Dashboard, call this method after SendbirdChat.connect or SendbirdChat.authenticateFeed.
clearCachedNotificationInfo() Future<void>
Clears the cached notification settings and templates. Call this method after SendbirdChat.disconnect.
getNotificationSettings() Future<SbSettings?>
Gets the notification settings.
getNotificationTemplate({required String key}) Future<SbTemplate?>
Gets the notification template with key.
getNotificationTemplateList() Future<List<SbTemplate>?>
Gets all of the notification template list.

Constants

sdkVersion → const String
sdkVersion