AppleIconTemplate class abstract
Interface for any templates that use Apple's Asset Catalog App Icon Type.
- Implementers
Constructors
-
AppleIconTemplate({required String sizeName, required int scaledSize, required int scale, required String idiom, String? platform, List<
IconAppearance> ? appearances}) - Constructor
Properties
-
appearances
→ List<
IconAppearance> ? -
Icon appearances
final
- filename → String
-
Icon file name
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- idiom → String
-
The device type for the image.
See https://developer.apple.com/library/archive/documentation/Xcode/Reference/xcode_ref-Asset_Catalog_Format/ImageSetType.html#//apple_ref/doc/uid/TP40015170-CH25-SW2
final
- platform → String?
-
Icon platform
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → int
-
The targeted display scale for the image, currently one of {1, 2, 3}
final
- scaledSize → int
-
Icon size
final
- sizeName → String
-
Icon size name to use in file names.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Used to encode the attributes for this asset file in a corresponding Asset's Contents.json file.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited