Shape class
A PageElement kind representing a generic shape that does not have a more specific classification.
Constructors
- Shape({Placeholder? placeholder, ShapeProperties? shapeProperties, String? shapeType, TextContent? text})
- Shape.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- placeholder ↔ Placeholder?
-
Placeholders are page elements that inherit from corresponding
placeholders on layouts and masters.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shapeProperties ↔ ShapeProperties?
-
The properties of the shape.
getter/setter pair
- shapeType ↔ String?
-
The type of the shape.
Possible string values are:
getter/setter pair
- text ↔ TextContent?
-
The text content of the shape.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited