ItemBehaviour class
Represents the behavior of the shapes generated by the library, along with all the necessary data defining their characteristics.
When creating an instance of this class, provide the following parameters:
- shape An object of type ShapeType that specifies the structure of the shape.
- icon If shape is set to ShapeType.Icon, you must pass an IconData object to this field.
- image If shape is set to ShapeType.Image, you need to provide a ui.Image object to this field.
Constructors
- ItemBehaviour({required ShapeType shape, IconData? icon, Image? image})
Properties
Methods
-
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