HomeIndicator class

Platform channel to show/hide the iPhone X home indicator (the swipeable bar at the bottom of the screen).

Constructors

HomeIndicator()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

deferScreenEdges(List<ScreenEdge> edges) Future<void>
Ask iOS to defer system gestures on the given edges of the screen.
hide() Future<void>
Ask iOS to hide the iPhone X home indicator (bar at bottom of screen). Note: it will still show up when the user gestures near the bottom of the screen.
isHidden() Future<bool>
Query whether the home indicator is currently instructed to be hidden.
show() Future<void>
Ask iOS to show the iPhone X home indicator (bar at bottom of screen). It will then always be visible, as is the default setting.