$EdgeInsetsGeometry class

Implemented types

Properties

$reified → dynamic
Fully reify the underlying value so it can be used in a Dart context. For example, recursively transform collections into their underlying $values.
no setter
$value EdgeInsetsGeometry
The backing Dart value of this $Value.
final
collapsedSize Size
The size that this EdgeInsets would occupy with an empty interior.
no setteroverride
flipped EdgeInsetsGeometry
An EdgeInsetsGeometry with top and bottom, left and right, and start and end flipped.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
horizontal double
The total offset in the horizontal direction.
no setteroverride
isNonNegative bool
Whether every dimension is non-negative.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vertical double
The total offset in the vertical direction.
no setteroverride

Methods

$getProperty(Runtime runtime, String identifier) → $Value?
Get a property by identifier on this instance
$getRuntimeType(Runtime runtime) int
Index of the class Type in the runtime dictionary. By definition can change from run to run, so it's customary to use Runtime.lookupType in implementations.
$setProperty(Runtime runtime, String identifier, $Value value) → void
Set a property by identifier on this instance to value
add(EdgeInsetsGeometry other) EdgeInsetsGeometry
Returns the sum of two EdgeInsetsGeometry objects.
override
along(Axis axis) double
The total offset in the given direction.
override
clamp(EdgeInsetsGeometry min, EdgeInsetsGeometry max) EdgeInsetsGeometry
Returns a new EdgeInsetsGeometry object with all values greater than or equal to min, and less than or equal to max.
override
deflateSize(Size size) Size
Returns a new size that is smaller than the given size by the amount of inset in the horizontal and vertical directions.
override
inflateSize(Size size) Size
Returns a new size that is bigger than the given size by the amount of inset in the horizontal and vertical directions.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(TextDirection? direction) EdgeInsets
Convert this instance into an EdgeInsets, which uses literal coordinates (i.e. the left coordinate being explicitly a distance from the left, and the right coordinate being explicitly a distance from the right).
override
subtract(EdgeInsetsGeometry other) EdgeInsetsGeometry
Returns the difference between two EdgeInsetsGeometry objects.
override
toString() String
A string representation of this object.
inherited

Operators

operator %(double other) EdgeInsetsGeometry
Computes the remainder in each dimension by the given factor.
override
operator *(double other) EdgeInsetsGeometry
Scales the EdgeInsetsGeometry object in each dimension by the given factor.
override
operator /(double other) EdgeInsetsGeometry
Divides the EdgeInsetsGeometry object in each dimension by the given factor.
override
operator ==(Object other) bool
The equality operator.
inherited
operator unary-() EdgeInsetsGeometry
operator unary-() EdgeInsetsGeometry
Returns the EdgeInsetsGeometry object with each dimension negated.
inherited
operator ~/(double other) EdgeInsetsGeometry
Integer divides the EdgeInsetsGeometry object in each dimension by the given factor.
override

Constants

$declaration → const BridgeClassDef
$type → const BridgeTypeRef