DeviceInsets class

A device's safe areas, as one value.

Ours rather than EdgeInsets because this file is pure Dart by design: a project's tool/flutterware.dart and a scenario folder's flutter_test_config.dart both import it, and neither should have to pull in Flutter to name a device.

Constructors

DeviceInsets({double top = 0, double right = 0, double bottom = 0, double left = 0})
const

Properties

bottom → double
final
hashCode → int
The hash code for this object.
no setterinherited
left → double
final
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
top → double
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