A representation of distances for each of the four edges of a rectangle, used to encode the padding that applications should place around their user interface, as exposed by Window.padding.

For a generic class that represents distances around a rectangle, see the EdgeDims class.

Constants

zero WindowPadding

A window padding that has zeros for each edge.

const WindowPadding._(left: 0.0, top: 0.0, right: 0.0, bottom: 0.0)

Properties

bottom double

The distance from the bottom edge to the first unobscured pixel, in physical pixels.

read-only
left double

The distance from the left edge to the first unobscured pixel, in physical pixels.

read-only

The distance from the right edge to the first unobscured pixel, in physical pixels.

read-only
top double

The distance from the top edge to the first unobscured pixel, in physical pixels.

read-only
hashCode int

Get a hash code for this object.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.

inherited