FakeViewPadding class

Used to fake insets and padding for TestFlutterViews.

See also:

Implemented types
Annotations

Constructors

FakeViewPadding({double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0})
Instantiates a new FakeViewPadding object for faking insets and padding during tests.
const

Properties

bottom double
The distance from the bottom edge to the first unpadded pixel, in physical pixels.
final
hashCode int
The hash code for this object.
read-onlyinherited
left double
The distance from the left edge to the first unpadded pixel, in physical pixels.
final
The distance from the right edge to the first unpadded pixel, in physical pixels.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
top double
The distance from the top edge to the first unpadded pixel, in physical pixels.
final

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

Constants

zero → const FakeViewPadding
A view padding that has zeros for each edge.