StickerEditorStyle class
The StickerEditorStyle
class defines the style for the sticker editor in
the image editor.
It includes properties such as colors for the background, category
indicator, category icons, and more.
Usage:
StickerEditorStyle StickerEditorStyle = StickerEditorStyle(
);
Properties:
Example Usage:
StickerEditorStyle StickerEditorStyle = StickerEditorStyle(
);
Constructors
- StickerEditorStyle({bool showDragHandle = true, DraggableSheetStyle draggableSheetStyle = const DraggableSheetStyle(), Color bottomSheetBackgroundColor = const Color(0xFFFFFFFF), EditorBoxConstraintsBuilder? editorBoxConstraintsBuilder})
-
Creates an instance of the
StickerEditorStyle
class with the specified style properties.const
Properties
- bottomSheetBackgroundColor → Color
-
The background color of the bottom sheet.
final
- draggableSheetStyle → DraggableSheetStyle
-
Configuration settings for a draggable bottom sheet component.
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
Methods
-
copyWith(
{bool? showDragHandle, Color? bottomSheetBackgroundColor, DraggableSheetStyle? draggableSheetStyle, EditorBoxConstraintsBuilder? editorBoxConstraintsBuilder}) → StickerEditorStyle -
Creates a copy of this
StickerEditorStyle
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