CustomSticker class
A custom sticker.
Constructors
- CustomSticker(String identifier, String name, String stickerUri, {bool? adjustments, String? thumbnailUri, TintMode? tintMode})
- Creates a new CustomSticker.
Properties
- adjustments → bool?
-
If enabled the brightness, contrast, and saturation of a sticker can
be changed if the corresponding
StickerAction
s in theTool.sticker
are enabled.final - hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → String
-
The identifier of the item.
finalinherited
- name → String?
-
The name of the item.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stickerUri → String
-
The source of the sticker image.
This should either be the full path, a uri or if
it is an asset the relative path as specified in
your
pubspec.yaml
file.final - thumbnailUri → String?
-
The source of the thumbnail image of the sticker.
This should either be the full path, a uri or if
it is an asset the relative path as specified in
your
pubspec.yaml
file. Ifnull
the thumbnail will be automatically generated from thestickerURI
.final - tintMode → TintMode?
-
The sticker tint mode.
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