WindowPlacementPlatform class abstract

The interface that platform implementations of window_placement extend.

Inheritance
  • Object
  • PlatformInterface
  • WindowPlacementPlatform
Implementers

Constructors

WindowPlacementPlatform()
Constructs a WindowPlacementPlatform.

Properties

hashCode → int
The hash code for this object.
no setterinherited
onPlacementChanged → Stream<WindowPlacementInfo>
Emits the current placement on listen and whenever it changes.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getBarRegion(WindowEdge edge, double extent) → Future<Rect?>
Where the system places a bar extent thick along edge, in window coordinates, or null where the platform has no such API. Defaults to null so implementations without it keep working.
getPlacement() → Future<WindowPlacementInfo>
Returns the current placement of the app window on the display.
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 Properties

instance ↔ WindowPlacementPlatform
The default instance of WindowPlacementPlatform to use.
getter/setter pair