ImageSticker class

Inheritance
Annotations

Constructors

ImageSticker({String name = '', Size size = const Size(200, 200), Map<String, Object> extra = const {}, String path = '', bool isNetworkImage = true})
const

Properties

extra Map<String, Object>
Extra information about sticker
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isNetworkImage bool
Network or asset image
final
name String
The name of the sticker.
finalinherited
path String
The url of the sticker. either network/accets or text
final
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({String? path, bool? isNetworkImage}) ImageSticker
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