Skip to content

Commit

Permalink
Generate icons
Browse files Browse the repository at this point in the history
  • Loading branch information
bdlukaa committed Mar 20, 2022
1 parent daa5a3e commit cacfd94
Show file tree
Hide file tree
Showing 35 changed files with 43 additions and 12 deletions.
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ios/Runner.xcodeproj/project.pbxproj
Expand Up @@ -478,4 +478,4 @@
/* End XCConfigurationList section */
};
rootObject = 97C146E61CF9000F007C117D /* Project object */;
}
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 22 additions & 8 deletions pubspec.lock
Expand Up @@ -14,7 +14,7 @@ packages:
name: args
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0"
version: "2.3.0"
async:
dependency: transitive
description:
Expand Down Expand Up @@ -118,13 +118,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.3"
flutter_launcher_icons:
flutter_launcher_icons_maker:
dependency: "direct dev"
description:
name: flutter_launcher_icons
name: flutter_launcher_icons_maker
url: "https://pub.dartlang.org"
source: hosted
version: "0.9.2"
version: "0.10.2"
flutter_lints:
dependency: "direct dev"
description:
Expand All @@ -137,6 +137,13 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_native_splash:
dependency: "direct dev"
description:
name: flutter_native_splash
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1"
flutter_plugin_android_lifecycle:
dependency: transitive
description:
Expand Down Expand Up @@ -195,7 +202,7 @@ packages:
name: image
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.2"
version: "3.1.3"
image_picker:
dependency: "direct main"
description:
Expand Down Expand Up @@ -321,7 +328,7 @@ packages:
name: petitparser
url: "https://pub.dartlang.org"
source: hosted
version: "4.1.0"
version: "4.4.0"
platform:
dependency: transitive
description:
Expand Down Expand Up @@ -460,6 +467,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
universal_io:
dependency: transitive
description:
name: universal_io
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.4"
url_launcher:
dependency: "direct main"
description:
Expand Down Expand Up @@ -557,7 +571,7 @@ packages:
name: xml
url: "https://pub.dartlang.org"
source: hosted
version: "5.1.2"
version: "5.3.1"
yaml:
dependency: transitive
description:
Expand All @@ -566,5 +580,5 @@ packages:
source: hosted
version: "3.1.0"
sdks:
dart: ">=2.14.0 <3.0.0"
dart: ">=2.15.1 <3.0.0"
flutter: ">=2.8.0"
7 changes: 6 additions & 1 deletion pubspec.yaml
Expand Up @@ -31,16 +31,21 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons: ^0.9.2
flutter_native_splash: ^2.1.1
flutter_launcher_icons_maker: ^0.10.1
flutter_lints: ^1.0.4

flutter:
uses-material-design: true
# assets:
# - assets/

# To generate the icons, run `flutter pub run flutter_launcher_icons_maker:main` under
# the root directory
flutter_icons:
android: true
ios: true
macos: true
windows: true
web: true
image_path: "assets/icon.png"
Binary file modified web/favicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified web/icons/Icon-192.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified web/icons/Icon-512.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion windows/runner/Runner.rc
Expand Up @@ -52,7 +52,13 @@ END

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_APP_ICON ICON "resources\\app_icon.ico"
IDI_APP_ICON ICON "resources//app_icon.ico"
IDI_APP_ICON_32 ICON "resources//app_icon_32.ico"
IDI_APP_ICON_64 ICON "resources//app_icon_64.ico"
IDI_APP_ICON_128 ICON "resources//app_icon_128.ico"
IDI_APP_ICON_256 ICON "resources//app_icon_256.ico"
IDI_APP_ICON_512 ICON "resources//app_icon_512.ico"
IDI_APP_ICON_1024 ICON "resources//app_icon_1024.ico"


/////////////////////////////////////////////////////////////////////////////
Expand Down
8 changes: 7 additions & 1 deletion windows/runner/resource.h
Expand Up @@ -2,7 +2,13 @@
// Microsoft Visual C++ generated include file.
// Used by Runner.rc
//
#define IDI_APP_ICON 101
#define IDI_APP_ICON 101
#define IDI_APP_ICON_32 102
#define IDI_APP_ICON_64 103
#define IDI_APP_ICON_128 104
#define IDI_APP_ICON_256 105
#define IDI_APP_ICON_512 106
#define IDI_APP_ICON_1024 107

// Next default values for new objects
//
Expand Down
Binary file modified windows/runner/resources/app_icon.ico
Binary file not shown.
Binary file added windows/runner/resources/app_icon_1024.ico
Binary file not shown.
Binary file added windows/runner/resources/app_icon_128.ico
Binary file not shown.
Binary file added windows/runner/resources/app_icon_256.ico
Binary file not shown.
Binary file added windows/runner/resources/app_icon_32.ico
Binary file not shown.
Binary file added windows/runner/resources/app_icon_512.ico
Binary file not shown.
Binary file added windows/runner/resources/app_icon_64.ico
Binary file not shown.

0 comments on commit cacfd94

Please sign in to comment.