ScreenAwarePlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • ScreenAwarePlatform
Implementers

Constructors

ScreenAwarePlatform()
Constructs a ScreenAwarePlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
onUserAttentionChanged Stream<bool>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() Future<void>
getPlatformVersion() Future<String?>
hasPermission() Future<bool>
initialize({double sensitivity = 0.7}) Future<void>
isRunning() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestPermission() Future<bool>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance ScreenAwarePlatform
The default instance of ScreenAwarePlatform to use.
getter/setter pair