TextSticker class
Constructors
Properties
- background → Color?
-
final
-
extra
→ Map<
String, Object> -
Extra information about sticker
finalinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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
- style → TextStyle?
-
final
- text → String
-
final
- textAlign → TextAlign?
-
final
Methods
-
build(
BuildContext context, DrishyaEditingController controller, VoidCallback? onPressed, StickerAsset? asset) → Widget -
Build sticker
override
-
copyWith(
{String? text, TextStyle? style, TextAlign? textAlign, Color? background}) → TextSticker -
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.
override