StickerEditorTheme class
The StickerEditorTheme
class defines the theme for the sticker editor in
the image editor.
It includes properties such as colors for the background, category
indicator, category icons, and more.
Usage:
StickerEditorTheme stickerEditorTheme = StickerEditorTheme(
);
Properties:
Example Usage:
StickerEditorTheme stickerEditorTheme = StickerEditorTheme(
);
Constructors
- StickerEditorTheme({bool showDragHandle = true, ThemeDraggableSheet themeDraggableSheet = const ThemeDraggableSheet(), Color bottomSheetBackgroundColor = const Color(0xFFFFFFFF), EditorBoxConstraintsBuilder? editorBoxConstraintsBuilder})
-
Creates an instance of the
StickerEditorTheme
class with the specified theme properties.const
Properties
- bottomSheetBackgroundColor → Color
-
The background color of the bottom sheet.
final
- editorBoxConstraintsBuilder → EditorBoxConstraintsBuilder?
-
Use this to build custom BoxConstraints that will be applied to
the modal bottom sheet displaying the StickerEditor.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showDragHandle → bool
-
Specifies whether a drag handle is shown on the bottomSheet.
final
- themeDraggableSheet → ThemeDraggableSheet
-
Configuration settings for a draggable bottom sheet component.
final
Methods
-
copyWith(
{bool? showDragHandle, Color? bottomSheetBackgroundColor, ThemeDraggableSheet? themeDraggableSheet, EditorBoxConstraintsBuilder? editorBoxConstraintsBuilder}) → StickerEditorTheme -
Creates a copy of this
StickerEditorTheme
object with the given fields replaced with new values. -
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