MethodChannelScreenAware class

An implementation of ScreenAwarePlatform that uses method channels.

Inheritance

Constructors

MethodChannelScreenAware()

Properties

eventChannel EventChannel
final
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
final
onUserAttentionChanged Stream<bool>
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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