TouchBarImage class
Constructors
- TouchBarImage({required String key, required ByteData data})
- Create an instance of TouchBarImage with a key and data.
Properties
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 akey
. -
loadFromNetwork(
{required Uri url, String? key}) → Future< TouchBarImage> -
Create an instance of TouchBarImage from a remote
url
with akey
.