AppleAppIconType class
Wrapper to allow generation of the Contents.json file used by Apple's Asset Catalog "App Icon Type": https://developer.apple.com/library/archive/documentation/Xcode/Reference/xcode_ref-Asset_Catalog_Format/AppIconType.html
Constructors
-
AppleAppIconType({required List<
AppleIconTemplate> images, required String assetPath, List<AppleIconTemplate> ? darkImages, List<AppleIconTemplate> ? tintedImages}) -
Provide a list of
images
to be created in your Asset set, whose Contents.json file can be written out toassetPath
.const
Properties
- assetPath → String
-
Where to write out the Contents.json file.
final
-
darkImages
→ List<
AppleIconTemplate> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
images
→ List<
AppleIconTemplate> -
The meta data for each asset file to create.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tintedImages
→ List<
AppleIconTemplate> ? -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveContentsJson(
) → void - Writes out the Contents.json file.
-
toJson(
) → Map< String, dynamic> - For use with a JsonEncoder to generate this Asset's Contents.json file.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited