MxAppIconGenerator class
app的圖標產生
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generateAndroidIcon(
Uint8List imageBytes, Directory targetDir, Color? backgroundColor) → void -
產生android app icon的圖標
imageBytes
- 原本的圖標bytestargetDir
- 目標資料夾: 通常指向到 android/app/src/main/res/ 檔案名稱固定為ic_launcher.png 產生的size列表 mipmap-mdpi => 48x48 mipmap-hdpi => 72x72 mipmap-xhdpi => 96x96 mipmap-xxhdpi => 144x144 mipmap-xxxhdpi => 192x192 -
generateIosIcon(
Uint8List imageBytes, Directory targetDir, Color? backgroundColor) → void -
產生ios app icon的圖標
imageBytes
- 原本的圖標bytestargetDir
- 目標資料夾: 通常指向到 ios/Runner/Assets.xcassets/AppIcon.appiconset 產生的size列表 20x20(x2,x3) 29x29(x2,x3) 38x38(x2,x3) 40x40(x2,x3) 60x60(x2,x3) 64x64(x2,x3) 68x68(x2) 76x76(x2) 83.5x83.5(x2) 1024x1024 -
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