IconSticker class

Inheritance
Annotations

Constructors

IconSticker({required IconData iconData, Color? color, String name = '', Size size = const Size(100, 100), Map<String, Object> extra = const {}})
const

Properties

color Color?
final
extra Map<String, Object>
Extra information about sticker
finalinherited
hashCode int
The hash code for this object.
no setterinherited
iconData IconData
final
name String
The name of the sticker.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
The size of the asset. Default Size(100.0, 100.0)
finalinherited

Methods

build(BuildContext context, DrishyaEditingController controller, VoidCallback? onPressed, StickerAsset? asset) Widget
Build sticker
override
copyWith({IconData? iconData, Color? color}) IconSticker
Copy object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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