ImageContent class
Describes the image content, e.g. where text can be fit into an image.
When sizing icons with icon-text-fit
, the icon size will be adjusted so that the this content box fits exactly around the text.
Constructors
- ImageContent({required double left, required double top, required double right, required double bottom})
Properties
- bottom ↔ double
-
Distance to the bottom, in screen pixels.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- left ↔ double
-
Distance to the left, in screen pixels.
getter/setter pair
- right ↔ double
-
Distance to the right, in screen pixels.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- top ↔ double
-
Distance to the top, in screen pixels.
getter/setter pair
Methods
-
encode(
) → Object -
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
Static Methods
-
decode(
Object result) → ImageContent