TouchBarImage class

Constructors

TouchBarImage({required String key, required ByteData data})
Create an instance of TouchBarImage with a key and data.

Properties

data ByteData
final
hashCode int
The hash code for this object.
no setterinherited
key String
final
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

loadFrom({required String path, String? key}) Future<TouchBarImage>
Create an instance of TouchBarImage from an asset path with a key.
loadFromNetwork({required Uri url, String? key}) Future<TouchBarImage>
Create an instance of TouchBarImage from a remote url with a key.