MethodChannelNothingGlyphInterface class

An implementation of NothingGlyphInterfacePlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

animate() Future<void>
override
buildGlyphFrame(List<Map<String, int?>> operations) Future<void>
override
displayProgress(int progress, {bool reverse = false}) Future<void>
override
displayProgressAndToggle(int progress, {bool reverse = false}) Future<void>
override
getChannel() Future<List<int>?>
override
getCycles() Future<int?>
override
getInterval() Future<int?>
override
getPeriod() Future<int?>
override
getPlatformVersion() Future<String?>
override
init() Future<void>
override
initCallbacks(dynamic serviceConnection(bool connected)) → void
override
is20111() Future<bool?>
Returns true if the device is a 20111 aka NothingPhone1
override
is22111() Future<bool?>
Returns true if the device is a 22111 aka NothingPhone2
override
is23111() Future<bool?>
Returns true if the device is a 23111 aka NothingPhone2a
override
is23113() Future<bool?>
Returns true if the device is a 23111 aka NothingPhone2aPlus
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toggle() Future<void>
override
toString() String
A string representation of this object.
inherited
turnOff() Future<void>
override

Operators

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