StickerPanelConfig class
StickerPanelConfig is a configuration class for the sticker panel component. It allows customization of specific features such as display options for the message area, sticker packages, unicode emoji lists, and custom sticker packages.
Constructors
-
StickerPanelConfig({bool useQQStickerPackage = true, bool useTencentCloudChatStickerPackage = true, bool useTencentCloudChatStickerPackageOldKeys = false, List<
int> unicodeEmojiList = TUIKitStickerConstData.defaultUnicodeEmojiList, List<CustomStickerPackage> customStickerPackages = const []})
Properties
-
customStickerPackages
→ List<
CustomStickerPackage> -
A list of CustomStickerPackage instances, where each instance represents a sticker package.
Default value: an empty list.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
unicodeEmojiList
→ List<
int> -
A list of unicode emoji, represented as integers.
Default value: a list of common Unicode Emojis.
To exclude Unicode Emoji from the display, pass an empty list.
final
- useQQStickerPackage → bool
-
Determines whether to use the QQ Sticker Package.
Default value: true
final
- useTencentCloudChatStickerPackage → bool
-
Determines whether to use the Tencent Cloud Chat Sticker Package.
Default value: true
final
- useTencentCloudChatStickerPackageOldKeys → bool
-
Determines whether to compatible with the Tencent Cloud Chat Sticker Package 3.x version.
Default value : false
final
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