GithubHelp home page GithubHelp logo

fluttercommunity / flutter_launcher_icons Goto Github PK

View Code? Open in Web Editor NEW
1.9K 25.0 388.0 73.52 MB

Flutter Launcher Icons - A package which simplifies the task of updating your Flutter app's launcher icon. Fully flexible, allowing you to choose what platform you wish to update the launcher icon for and if you want, the option to keep your old launcher icon in case you want to revert back sometime in the future. Maintainer: @MarkOSullivan94

Home Page: https://pub.dev/packages/flutter_launcher_icons

License: MIT License

Dart 99.63% Kotlin 0.37%
flutter dart hacktoberfest

flutter_launcher_icons's Introduction

Flutter Launcher Icons

Flutter Community: flutter_launcher_icons

pub package

A command-line tool which simplifies the task of updating your Flutter app's launcher icon. Fully flexible, allowing you to choose what platform you wish to update the launcher icon for and if you want, the option to keep your old launcher icon in case you want to revert back sometime in the future.

📖 Guide

1. Setup the config file

Run the following command to create a new config automatically:

flutter pub run flutter_launcher_icons:generate

This will create a new file called flutter_launcher_icons.yaml in your flutter project's root directory.

If you want to override the default location or name of the config file, use the -f flag:

flutter pub run flutter_launcher_icons:generate -f <your config file name here>

To override an existing config file, use the -o flag:

flutter pub run flutter_launcher_icons:generate -o

OR

Add your Flutter Launcher Icons configuration to your pubspec.yaml.
An example is shown below. More complex examples can be found in the example projects.

dev_dependencies:
  flutter_launcher_icons: "^0.13.1"

flutter_launcher_icons:
  android: "launcher_icon"
  ios: true
  image_path: "assets/icon/icon.png"
  min_sdk_android: 21 # android min sdk min:16, default 21
  web:
    generate: true
    image_path: "path/to/image.png"
    background_color: "#hexcode"
    theme_color: "#hexcode"
  windows:
    generate: true
    image_path: "path/to/image.png"
    icon_size: 48 # min:48, max:256, default: 48
  macos:
    generate: true
    image_path: "path/to/image.png"

2. Run the package

After setting up the configuration, all that is left to do is run the package.

flutter pub get
flutter pub run flutter_launcher_icons

If you name your configuration file something other than flutter_launcher_icons.yaml or pubspec.yaml you will need to specify the name of the file when running the package.

flutter pub get
flutter pub run flutter_launcher_icons -f <your config file name here>

Note: If you are not using the existing pubspec.yaml ensure that your config file is located in the same directory as it.

If you encounter any issues please report them here.

In the above configuration, the package is setup to replace the existing launcher icons in both the Android and iOS project with the icon located in the image path specified above and given the name "launcher_icon" in the Android project and "Example-Icon" in the iOS project.

🔍 Attributes

Shown below is the full list of attributes which you can specify within your Flutter Launcher Icons configuration.

Global

  • image_path: The location of the icon image file which you want to use as the app launcher icon.

Android

  • android

    • true: Override the default existing Flutter launcher icon for the platform specified
    • false: Ignore making launcher icons for this platform
    • icon/path/here.png: This will generate a new launcher icons for the platform with the name you specify, without removing the old default existing Flutter launcher icon.
  • image_path: The location of the icon image file which you want to use as the app launcher icon

  • image_path_android: The location of the icon image file specific for Android platform (optional - if not defined then the image_path is used)

  • min_sdk_android: Specify android min sdk value The next two attributes are only used when generating Android launcher icon

  • adaptive_icon_background: The color (E.g. "#ffffff") or image asset (E.g. "assets/images/christmas-background.png") which will be used to fill out the background of the adaptive icon.

  • adaptive_icon_foreground: The image asset which will be used for the icon foreground of the adaptive icon Note: Adaptive Icons will only be generated when both adaptive_icon_background and adaptive_icon_foreground are specified. (the image_path is not automatically taken as foreground)

  • adaptive_icon_monochrome: The image asset which will be used for the icon foreground of the Android 13+ themed icon. For more information see Android Adaptive Icons

IOS

  • ios
    • true: Override the default existing Flutter launcher icon for the platform specified
    • false: Ignore making launcher icons for this platform
    • icon/path/here.png: This will generate a new launcher icons for the platform with the name you specify, without removing the old default existing Flutter launcher icon.
  • image_path_ios: The location of the icon image file specific for iOS platform (optional - if not defined then the image_path is used)
  • remove_alpha_ios: Removes alpha channel for IOS icons
  • background_color_ios: The color (in the format "#RRGGBB") to be used as the background when removing the alpha channel. It is used only when the remove_alpha_ios property is set to true. (optional - if not defined then #ffffff is used)

Web

  • web: Add web related configs
    • generate: Specifies whether to generate icons for this platform or not
    • image_path: Path to web icon.png
    • background_color: Updates background_color in web/manifest.json
    • theme_color: Updates theme_color in web/manifest.json

Windows

  • windows: Add Windows related configs
    • generate: Specifies whether to generate icons for Windows platform or not
    • image_path: Path to web icon.png
    • icon_size: Windows app icon size. Icon size should be within this constrains 48<=icon_size<=256, defaults to 48

MacOS

  • macos: Add MacOS related configs
    • generate: Specifies whether to generate icons for MacOS platform or not
    • image_path: Path to macos icon.png file

Note: iOS icons should fill the entire image and not contain transparent borders.

Flavor support

Create a Flutter Launcher Icons configuration file for your flavor. The config file is called flutter_launcher_icons-<flavor>.yaml by replacing <flavor> by the name of your desired flavor.

The configuration file format is the same.

An example project with flavor support enabled has been added to the examples.

❓ Troubleshooting

Listed a couple common issues with solutions for them

Generated icon color is different from the original icon

Caused by an update to the image dependency which is used by Flutter Launcher Icons.

Use #AARRGGBB for colors instead of #AABBGGRR, to be compatible with Flutter image class.

Related issue

Image foreground is too big / too small

For best results try and use a foreground image which has padding much like the one in the example.

Related issue

Dependency incompatible

You may receive a message similar to the following

Because flutter_launcher_icons >=0.9.0 depends on args 2.0.0 and flutter_native_splash 1.2.0 depends on args ^2.1.1, flutter_launcher_icons >=0.9.0 is incompatible with flutter_native_splash 1.2.0.
And because no versions of flutter_native_splash match >1.2.0 <2.0.0, flutter_launcher_icons >=0.9.0 is incompatible with flutter_native_splash ^1.2.0.
So, because enstack depends on both flutter_native_splash ^1.2.0 and flutter_launcher_icons ^0.9.0, version solving failed.
pub get failed (1; So, because enstack depends on both flutter_native_splash ^1.2.0 and flutter_launcher_icons ^0.9.0, version solving failed.)

For a quick fix, you can temporarily override all references to a dependency: See here for an example.

👀 Example

Video Example

Note: This is showing a very old version (v0.0.5)

Special thanks

  • Thanks to Brendan Duncan for the underlying image package to transform the icons.
  • Big thank you to all the contributors to the project. Every PR / reported issue is greatly appreciated!

flutter_launcher_icons's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutter_launcher_icons's Issues

IOS icon

The IOS icon is not being updated.

but that's because the file ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json has not been updated with the AppIcon name as the new Icon is created.

Example:

{
  "size" : "20x20",
  "idiom" : "iphone",
  "filename" : "[email protected]",
  "scale" : "2x"
}

if you simply change the filename to AppIcon instead of Icon-App in all occurencies, the icon will change and eveything will be fine.

Solution:

{
  "size" : "20x20",
  "idiom" : "iphone",
  "filename" : "[email protected]",
  "scale" : "2x"
}

(change in all occurencies)

Confusing description of the ios/android options

I find the description in the README confusing:

android/ios: True / False OR - Specify whether or not you want to override the existing launcher icon or create a new one and switch to it (while keeping the old one there)

Firstly, it's confusing what 'true' and 'false' do. Does 'true' override or does it create a new one?

I'm also confused about what happens if I specify an Icon Name. Does that mean you read a particular file? Or does it somehow name the resulting files differently?

iOS transparent borders issue

I've got my pubspec.yml setup as follows:

...
dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_launcher_icons: "^0.6.1"

flutter_icons:
  image_path: "assets/logo.png" 
  android: true
  ios: true
  adaptive_icon_background: "#614ec6"

I run the command:

$ flutter packages pub run flutter_launcher_icons:main
Android minSdkVersion = 16
Creating icons Android
Overwriting default Android launcher icon with new icon
Overwriting default iOS launcher icon with new icon

The icon when it installs onto the iPhone however... well.. it has a black border.
screen shot 2018-11-14 at 4 26 48 pm

How do I fix that from happening? I used the studio creator to generate it.

This is the original image:
ic_launcher

Metadata in a separate file

Let this be in a separate file

icon_spec.yaml
  image_path: "icon/icon.png" 
  android: true
  ios: false

flutter_icons:
  config: "icon_spec.yaml"

Generation produces newline diff in Manifest and Project file

After running the command to generate the icons I get this diff in AndroidManifest.xmland project.pbxproj

-}
+}
\ No newline at end of file

Most editors add by default a newline at the end of a file. To avoid such unnecessary diff it would be nice if the tool cold also add a newline at EOF.

Because flutter_launcher_icons >=0.4.0 <0.6.1 depends on dart_config >=0.3.0+1 which requires SDK version <2.0.0, flutter_launcher_icons >=0.4.0 <0.6.1 is forbidden. So, because mbf depends on flutter_launcher_icons 0.6.0, version solving failed.

When I try to run the app, this error comes up:
Because flutter_launcher_icons >=0.4.0 <0.6.1 depends on dart_config >=0.3.0+1 which requires SDK version <2.0.0, flutter_launcher_icons >=0.4.0 <0.6.1 is forbidden. So, because mbf depends on flutter_launcher_icons 0.6.0, version solving failed.

My pubspec.yaml file:

flutter_launcher_icons: "0.5.2"
 flutter_icons:
   image_path: "assets/icon/logo.png"
   android: true
   ios: true
   adaptive_icon_background: "#090909"
   adaptive_icon_foreground: "assets/icon/logo.png"

Cannot generate only for ios

Thanks for the package. I try to generate icon only for iOS (latest version so I guess 0.6.1) with the following configuration

flutter_icons:
  android: false
  ios: true
  image_path_ios: "assets/dev/icon/ios_app_icon_1024x1024.png"

running

flutter pub pub run flutter_launcher_icons:main

complain with the error

Missing 'image_path' or 'image_path_android + image_path_ios' within configuration

And if I do add an image_path, it seems the android: false flag is ignore and my android icons are overriden

ios icon not being generated and no error

android works.
but not ios.

anyone else getting this ?

from project root calling:
flutter pub pub run flutter_launcher_icons:main


pubspec.yaml


dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_launcher_icons: "^0.0.1"

flutter_icons:
  image_path: "icon.png" 
  android: true
  ios: true


busted on ios, with SWIFT it seems...

maybe i am doing something wrong ?

steps to repro

from an empty folder:
1. flutter create --org com.gedw99 --template=plugin -i swift -a kotlin hello
2. setup the pubspec.yaml as below
3. make icons and run
	# makes icons
	mkdir -p hello/example/icon
	cp icon/icon.png hello/example/icon
	cd hello/example && flutter pub get
	cd hello/example && flutter pub pub run flutter_launcher_icons:main

pubspec.yaml:


name: hello_example
description: Demonstrates how to use the hello plugin.

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.0

dev_dependencies:
  flutter_test:
    sdk: flutter

  hello:
    path: ../
    
  flutter_launcher_icons: "^0.2.1"

flutter_icons:
  image_path: "icon/icon.png" 
  android: true
  ios: true

# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  # assets:
  #  - images/a_dot_burr.jpeg
  #  - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.io/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.io/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies, 
  # see https://flutter.io/custom-fonts/#from-packages


Output of make ft-icon:

x-MacBook-Pro:flutter apple$ make ft-icon
# fed: https://pub.dartlang.org/packages/flutter_launcher_icons
# copy code into the example/pubspec (see the icons.md)
# makes icons
mkdir -p hello/example/icon
cp icon/icon.png hello/example/icon
cd hello/example && flutter pub get
Running "flutter packages get" in example...                 0.9s
cd hello/example && flutter pub pub run flutter_launcher_icons:main
Saving new icon to ic_launcher.png and switching Android launcher icon to it
Overwriting default iOS launcher icon with new icon
Finished!
x-MacBook-Pro:flutter apple$ make ft-run-ios
open -a Simulator.app
cd hello/example && flutter run
Launching lib/main.dart on iPhone 8 Plus in debug mode...
Skipping compilation. Fingerprint match.
Starting Xcode build...
 ├─Assembling Flutter resources...                    2.2s
 └─Compiling, linking and signing...                  3.9s
Xcode build done.                                            8.2s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
    The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference”logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.
    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
    /* com.apple.actool.errors */
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets: error: None of the input catalogs contained a matching stickers icon set or app icon set named  "Icon-App".
    /* com.apple.actool.document.warnings */
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/(null)[2d][[email protected]]: warning: The app icon set "AppIcon" has an unassigned child.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][iphone][20x20][][][3x][][]: warning: AppIcon.appiconset/[email protected] is 60x106 but should be 60x60.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][iphone][29x29][][][2x][][]: warning: AppIcon.appiconset/[email protected] is 58x103 but should be 58x58.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][ipad][76x76][][][2x][][]: warning: AppIcon.appiconset/[email protected] is 152x270 but should be 152x152.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][ipad][40x40][][][2x][][]: warning: AppIcon.appiconset/[email protected] is 80x142 but should be 80x80.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][iphone][40x40][][][2x][][]: warning: AppIcon.appiconset/[email protected] is 80x142 but should be 80x80.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][ipad][29x29][][][1x][][]: warning: AppIcon.appiconset/[email protected] is 29x51 but should be 29x29.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][ipad][20x20][][][2x][][]: warning: AppIcon.appiconset/[email protected] is 40x71 but should be 40x40.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][iphone][40x40][][][3x][][]: warning: AppIcon.appiconset/[email protected] is 120x213 but should be 120x120.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][iphone][29x29][][][3x][][]: warning: AppIcon.appiconset/[email protected] is 87x154 but should be 87x87.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][iphone][60x60][][][3x][][]: warning: AppIcon.appiconset/[email protected] is 180x319 but should be 180x180.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][ipad][20x20][][][1x][][]: warning: AppIcon.appiconset/[email protected] is 20x35 but should be 20x20.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][iphone][20x20][][][2x][][]: warning: AppIcon.appiconset/[email protected] is 40x71 but should be 40x40.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][ipad][40x40][][][1x][][]: warning: AppIcon.appiconset/[email protected] is 40x71 but should be 40x40.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][ipad][29x29][][][2x][][]: warning: AppIcon.appiconset/[email protected] is 58x103 but should be 58x58.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][iphone][29x29][][][1x][][]: warning: AppIcon.appiconset/[email protected] is 29x51 but should be 29x29.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][ipad][83.5x83.5][][][2x][][]: warning: AppIcon.appiconset/[email protected] is 167x296 but should be 167x167.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][iphone][60x60][][][2x][][]: warning: AppIcon.appiconset/[email protected] is 120x213 but should be 120x120.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][ipad][76x76][][][1x][][]: warning: AppIcon.appiconset/[email protected] is 76x135 but should be 76x76.
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/ios/Runner/Assets.xcassets:./AppIcon.appiconset/[][ios-marketing][1024x1024][][][1x][][]: warning: AppIcon.appiconset/[email protected] is 1024x1819 but should be 1024x1024.
    /* com.apple.actool.compilation-results */
    /Users/apple/workspace/go/src/bitbucket.org/gedw99/md-flutter/sdk/ci/flutter/hello/example/build/ios/Debug-iphonesimulator/Runner.app/Assets.car
    /Users/apple/Library/Developer/Xcode/DerivedData/Runner-dtbkweoretbigafrvarnpjyccwxb/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/assetcatalog_generated_info.plist

Could not build the application for the simulator.
Error launching application on iPhone 8 Plus.
make: *** [ft-run-ios] Error 2

Fill all icon area

How can I do it? in this moment I tried with two images, first image was small and appeared black background, second image was a PNG file but I couldn't put a white background, How can I fill all area or put background in IOS? TY.

Fails with unhandled exception NoSuchMethodError: Attempted to use type 'MapEntry' as a function

Have this configuration in pubspec :

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_launcher_icons: "^0.6.1"

flutter_icons:
  android: true 
  ios: true
  image_path: "assets/icons/appIcon.png"

It fails with following error on running flutter pub pub run flutter_launcher_icons:main

NoSuchMethodError: Attempted to use type 'MapEntry' as a function. Since types do not define a method 'call', this is no
t possible. Did you intend to call the MapEntry constructor and forget the 'new' operator?
Receiver: MapEntry
Tried calling: MapEntry("dependencies", Instance of 'YamlMap')
#0      loadConfigFile (package:flutter_launcher_icons/main.dart:37:16)
<asynchronous suspension>
#1      createIcons (package:flutter_launcher_icons/main.dart:8:3)
<asynchronous suspension>
#2      main (file:///D:/no-backup/stack/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.6.1/bin/mai
n.dart:5:3)
#3      _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
pub finished with exit code 255

Please have a look

Ability to name the icon

It would be nice if you can provide a command line argument which will to take in the file name to produce

Adding launch image / splash screen generation

Nice tool for generating the app icons. But it would be very nice if one could also generate the launch images (spalsh screen) as written in this section of the flutter docs.

For android just another icon to generate is required. Additionally a launch_background.xml file, a color attribute and the xmls filename in style.xml is required, but should be quite similar as for the adaptive icons.

For ios it is the same as for the app icon, just another target path.

project/ios/Runner/Assets.xcassets: error: None of the input catalogs contained a matching stickers icon set or app icon set named "Icon-App"

So I used this to generate the icons - which was pretty sweet, thank you very much.
Trying to create the IOS app, I got this error:
project/ios/Runner/Assets.xcassets: error: None of the input catalogs contained a matching stickers icon set or app icon set named "Icon-App".
I have very little knowledge of iOS development, so I have no idea what is going on.

Creation of icons fails, if the targetfolder does not exist

e.g.

flutter pub pub run  flutter_launcher_icons:main                          00:06
Saving new icon to ic_launcher.png and switching Android launcher icon to it
Unhandled exception:
FileSystemException: Cannot open file, path = 'android/app/src/main/res/mipmap-hdpi/ic_launcher.png' (OS Error: No such file or directory, errno = 2)
#0      _File.throwIfError (dart:io/file_impl.dart:628)
#1      _File.openSync (dart:io/file_impl.dart:472)
#2      _File.writeAsBytesSync (dart:io/file_impl.dart:597)
#3      overwriteExistingIcons (package:flutter_launcher_icons/android.dart:45:7)
#4      convertAndroid.<anonymous closure> (package:flutter_launcher_icons/android.dart:37:46)
#5      List.forEach (dart:core-patch/dart:core/growable_array.dart:274)
#6      convertAndroid (package:flutter_launcher_icons/android.dart:37:19)
#7      main.<anonymous closure> (file:///Users/gizmo/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.2.0/bin/main.dart:13:9)
#8      _RootZone.runUnary (dart:async/zone.dart:1381)
#9      _FutureListener.handleValue (dart:async/future_impl.dart:129)
#10     _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:633)
#11     _Future._propagateToListeners (dart:async/future_impl.dart:662)
#12     _Future._completeWithValue (dart:async/future_impl.dart:477)
#13     _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:507)
#14     _microtaskLoop (dart:async/schedule_microtask.dart:41)
#15     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#16     _runPendingImmediateCallback (dart:isolate-patch/dart:isolate/isolate_patch.dart:113)
#17     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:166)
pub finished with exit code 255

Failed to precompile flutter_launcher_icons:main

If i run flutter pub pub run flutter_launcher_icons:main i get this error:

Failed to precompile flutter_launcher_icons:main:
file:///Users/chris/Development/flutter/.pub-cache/hosted/pub.dartlang.org/dart_config-0.5.0/lib/loaders/config_loader_filesystem.dart:13:36: Error: The parameter 'path' of the method 'ConfigFilesystemLoader::loadConfig' has type dart.core::String, which does not match the corresponding type in the overridden method (dynamic).
Change to a supertype of dynamic (or, for a covariant parameter, a subtype).
  Future<String> loadConfig(String path) {
                                   ^
file:///Users/chris/Development/flutter/.pub-cache/hosted/pub.dartlang.org/dart_config-0.5.0/lib/parsers/config_parser_yaml.dart:10:15: Error: The return type of the method 'YamlConfigParser::parse' is dart.async::Future<dart.core::Map<dynamic, dynamic>>, which does not match the return type of the overridden method (dart.async::Future<dart.core::Map<dart.core::String, dart.core::Object>>).
Change to a subtype of dart.async::Future<dart.core::Map<dart.core::String, dart.core::Object>>.
  Future<Map> parse(String configText) {
              ^
pub finished with exit code 1

LG Chris

App Icon looks different on some devices

Steps to Reproduce

  1. Add the flutter_launcher_icons package to pubspec.yaml
  2. Add the following configuration to the pubspec.yaml file:
flutter_icons:
  android: true 
  ios: true
  image_path_android: "assets/img/icon/ic_launcher_xxxhdpi.png"
  image_path_ios: "assets/img/icon/ios.png"
  adaptive_icon_background: "assets/img/icon/ic_background.png"
  adaptive_icon_foreground: "assets/img/icon/ic_foreground.png"

Images used: Icons

  1. Run flutter packages pub run flutter_launcher_icons:main.
  2. Build the app and install it on different devices. In my case i used a Honor 8, Samsung Galaxy J3 and a Samsung Galaxy Tab.
  3. Watch the result:
    Image of the Problem
  4. As you can see on the Screenshot above, the App Icon looks different on those two devices. The left device is the Galaxy J3, the right one is the Honor 8. I've let several people test it on their phones with different results. Some get the "zoomed in" ugly looking version (left image), some get the normal (right image).

I really dont know what the issue is. As you can see above, im even using adaptive icons, so i really dont know what to do.

Logs

Flutter Analyze

No issues found! (ran in 2.6s)

Flutter Doctor

[√] Flutter (Channel beta, v1.0.0, on Microsoft Windows [Version 10.0.17134.523], locale de-DE)
    • Flutter version 1.0.0 at D:\CubE\Desktop\Programme\flutter
    • Framework revision 5391447fae (7 weeks ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at C:\Users\CubE\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[√] Android Studio (version 3.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[√] VS Code (version 1.30.2)
    • VS Code at C:\Users\CubE\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 2.21.1

[√] VS Code, 32-bit edition (version 1.29.1)
    • VS Code at C:\Program Files (x86)\Microsoft VS Code
    • Flutter extension version 2.21.1

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

Support Adaptive Icons

One of the suggestions I've seen on Reddit (thanks conman__1040!) is to implement adaptive icons for the Flutter Android app.

Apparently the default icon is adaptive and so investigation will need to be done to see how it's done and how we can replicate the behavior for new icons.

The flutter pub run flutter_launcher_icons:main command is incorrect.

When I run "flutter pub run flutter_launcher_icons:main", the error message is as follows:
Error on line 97, column 6 of pubspec.yaml: A dependency may only have one source.
image_path: "images/icon.png"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pub finished with exit code 65

My pubspec. yaml file is configured as follows:
flutter_launcher_icons: ^0.2.0
flutter_icons:
image_path: "images/icon.png"
android: true
ios: "Example-Icon"
How can I solve this problem?

Failed to precompile flutter_launcher_icons:main:

Hello !

Iäve setup my config file as in here and then, after getting the package, I run flutter packages pub run flutter_launcher_icons:main

Sadly here is the output:

Failed to precompile flutter_launcher_icons:main:
file:///home/malcolm/external_sources/flutter/.pub-cache/hosted/pub.dartlang.org/image-2.0.5/lib/src/bitmap_font.dart:303:40: Error: Too many positional arguments: 1 allowed, but 3 found.
Try removing the extra positional arguments.
          var info = new XML.XmlElement(new XML.XmlName('info'), attrs, []);
                                       ^
file:///home/malcolm/external_sources/flutter/.pub-cache/hosted/pub.dartlang.org/xml-3.2.4/lib/xml/nodes/element.dart:17:3: Context: Found this candidate, but the arguments don't match.
  XmlElement(this.name,
  ^
file:///home/malcolm/external_sources/flutter/.pub-cache/hosted/pub.dartlang.org/image-2.0.5/lib/src/bitmap_font.dart:308:40: Error: Too many positional arguments: 1 allowed, but 3 found.
Try removing the extra positional arguments.
          var node = new XML.XmlElement(new XML.XmlName('common'), attrs, []);
                                       ^
file:///home/malcolm/external_sources/flutter/.pub-cache/hosted/pub.dartlang.org/xml-3.2.4/lib/xml/nodes/element.dart:17:3: Context: Found this candidate, but the arguments don't match.
  XmlElement(this.name,
  ^
file:///home/malcolm/external_sources/flutter/.pub-cache/hosted/pub.dartlang.org/image-2.0.5/lib/src/bitmap_font.dart:313:40: Error: Too many positional arguments: 1 allowed, but 3 found.
Try removing the extra positional arguments.
          var page = new XML.XmlElement(new XML.XmlName('page'), attrs, []);
                                       ^
file:///home/malcolm/external_sources/flutter/.pub-cache/hosted/pub.dartlang.org/xml-3.2.4/lib/xml/nodes/element.dart:17:3: Context: Found this candidate, but the arguments don't match.
  XmlElement(this.name,
  ^
file:///home/malcolm/external_sources/flutter/.pub-cache/hosted/pub.dartlang.org/image-2.0.5/lib/src/bitmap_font.dart:321:40: Error: Too many positional arguments: 1 allowed, but 3 found.
Try removing the extra positional arguments.
          var node = new XML.XmlElement(new XML.XmlName('char'), attrs, []);
                                       ^
file:///home/malcolm/external_sources/flutter/.pub-cache/hosted/pub.dartlang.org/xml-3.2.4/lib/xml/nodes/element.dart:17:3: Context: Found this candidate, but the arguments don't match.
  XmlElement(this.name,
  ^
file:///home/malcolm/external_sources/flutter/.pub-cache/hosted/pub.dartlang.org/image-2.0.5/lib/src/bitmap_font.dart:329:40: Error: Too many positional arguments: 1 allowed, but 3 found.
Try removing the extra positional arguments.
          var node = new XML.XmlElement(new XML.XmlName('kerning'), attrs, []);
                                       ^
file:///home/malcolm/external_sources/flutter/.pub-cache/hosted/pub.dartlang.org/xml-3.2.4/lib/xml/nodes/element.dart:17:3: Context: Found this candidate, but the arguments don't match.
  XmlElement(this.name,
  ^
pub finished with exit code 1

Here is my config file


name: appname
description: Someapp

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# Read more about versioning at semver.org.
version: 1.0.0+1

environment:
  sdk: ">=2.0.0-dev.68.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  json_annotation: ^2.0.0

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2

dev_dependencies:
  flutter_test:
    sdk: flutter
  # Your other dev_dependencies here
  build_runner: ^1.0.0
  json_serializable: ^2.0.0
  path_provider: ^0.4.1
  intl: ^0.15.7
  flutter_local_notifications:
  scheduled_notifications: ^1.0.0
  http: ^0.12.0
  url_launcher:
  flutter_launcher_icons: ^0.7.0



flutter_icons:
  android: "launcher_icon"
  ios: true
  image_path: "images/avater.jpg"


# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true
  assets:
      - images/avatar.jpg
      - images/flutter.png
      - assets/userdata.json

  # To add assets to your application, add an assets section, like this:
  # assets:
  #  - images/a_dot_burr.jpeg
  #  - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.io/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.io/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.io/custom-fonts/#from-packages

incorrectly named icons for Android

Version: 0.6.1
Dart + Flutter: latest release as of 16/10/2018

When running flutter pub pub run flutter_launcher_icons:main on a new project the icons are copied and named 'true,.png' and the AndroidManifest.xml is also amended to reflect this name.

Resources cannot contain comma's so this causes a build error. Renaming the icons and correcting the AndroidManifest fixes the issue.

Can't install

Can't install the app getting
Git error. Command: git clone --mirror https://github.com/MarkOSullivan94/dart_config.git C:\code\flutter\.pub-cache\git\cache\dart_config-d2db83fa92bb229094789c5489c5e2d3cc175814 Cloning into bare repository 'C:\code\flutter\.pub-cache\git\cache\dart_config-d2db83fa92bb229094789c5489c5e2d3cc175814'... fatal: unable to access 'https://github.com/MarkOSullivan94/dart_config.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

flutter_launcher_icons: "^0.7.0"

I should mention flutter packages get works fine for all other packages I have. So I don't believe it's an issue on my end. Could be wrong though.

The icon shown remains the default one provided by Flutter

Hi guys,

I've followed the main guide to use this package, but the default Flutter icon still shows up.. and I don't understand why.

Here is the repo of the app where I get this problem.

Minimal pubspec.yaml:

dev_dependencies:
  flutter_test:
    sdk: flutter

  # launcher icons
  flutter_launcher_icons: "^0.7.0"

flutter_icons:
  android: "launcher_icon"
  ios: true
  image_path: "assets/icon/icon.png"

the full path of icon.png is: mymainrepo/assets/icon/icon.png

Flutter version: 1.0 beta channel


Anything else I need to provide?

Restrict filename of generating android icons

Android icons cannot use except lowercase letters.

I think that it should be limited when generating.

Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> /Users/tanakei/Documents/flutter-dev/android/app/src/main/res/mipmap-mdpi/app-icon.png: Error: '-' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
Finished with error: Gradle build failed: 1

Error type String is not a subtype of type 'Map<dynamic, dynamic>'

When i run this command

$ flutter pub get $ flutter pub pub run flutter_launcher_icons:main

it shows error like this
Macs-Mac-mini:ultra_approval macmini1$ flutter pub pub run flutter_launcher_icons:main Unhandled exception: type 'String' is not a subtype of type 'Map<dynamic, dynamic>' #0 loadFlutterIconsConfig (package:flutter_launcher_icons/main.dart:42:3) #1 createIcons.<anonymous closure> (package:flutter_launcher_icons/main.dart:9:18) #2 _RootZone.runUnary (dart:async/zone.dart:1379:54) #3 _FutureListener.handleValue (dart:async/future_impl.dart:129:18) #4 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45) #5 Future._propagateToListeners (dart:async/future_impl.dart:671:32) #6 Future._complete (dart:async/future_impl.dart:476:7)

flutter doctor
Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel beta, v0.8.2, on Mac OS X 10.13.6 17G65, locale en-US) [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) [✓] iOS toolchain - develop for iOS devices (Xcode 10.0) [✓] Android Studio (version 3.2) [✓] VS Code (version 1.27.2) [✓] Connected devices (1 available)

should we use dev_dependencies?

In the README, you say to put the package under "dependencies", but that's intended to list packages required to run the app.

I think we can use dev_dependencies for this util script?

NoSuchMethodError: The getter 'width' was called on null.

Hello,
I have change my icon png file and rerun below command. How can I correct this error?
Regards.

flutter packages pub run flutter_launcher_icons:main
Android minSdkVersion = 16
Creating default icons Android
Adding a new Android launcher icon
NoSuchMethodError: The getter 'width' was called on null.
Receiver: null
Tried calling: width
pub finished with exit code 2

Svg

I have used this before and it's such a Time saver.

Do you think svg support it possible ?

There is a dart package that converts svg to a bitmap on pub.
So you could use that.

I have been using the svg approach for all images in my apps because it ensures it looks good on a tablet or a little mobile. Once a bit at has been generated at runtime I save it and use that from then on. This allows the image to be cached.

Just thought this was worth mentioning.

Error when pubspec.yaml contain chinese

When my pubspec.yaml description has chinese, it will throw exception;

But I delete chinese, it will fix.

name: bbq
description: flutter项目
Unhandled exception:
Error on line 2, column 25: Unexpected character.
description: flutter项�
                        ^
#0      Parser.parse (package:yaml/src/parser.dart:50:7)
#1      Loader._loadMapping (package:yaml/src/loader.dart:171:23)
#2      Loader._loadNode (package:yaml/src/loader.dart:86:16)
#3      Loader._loadDocument (package:yaml/src/loader.dart:62:20)
#4      Loader.load (package:yaml/src/loader.dart:54:20)
#5      loadYamlDocument (package:yaml/yaml.dart:51:25)
#6      loadYamlNode (package:yaml/yaml.dart:42:5)
#7      loadYaml (package:yaml/yaml.dart:34:5)
#8      YamlConfigParser.parse (package:dart_config/parsers/config_parser_yaml.dart:12:15)
#9      Config.readConfig.<anonymous closure> (package:dart_config/config.dart:44:25)
#10     _RootZone.runUnary (dart:async/zone.dart:1379:54)
#11     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#12     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#13     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#14     Future._completeWithValue (dart:async/future_impl.dart:486:5)
#15     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:516:7)
#16     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#17     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#18     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#19     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)
pub finished with exit code 255

Flavors?

It would be nice to have the possibility to use this package also to manage various flavors icons, I guess this might be a breaking change to simply replicate this configuration API.
Another option would be making a new package, some type of flavors helper which uses this package to handle the icon parts.

New logo/icon proposal

Good day sir. I am a graphic designer and i am interested in designing a logo for your good project. I will be doing it as a gift for free. I just need your permission first before I begin my design. Hoping for your positive feedback. Thanks

App Icons appearing as boxes

I tried to add the package and I think it somehow ruined all other icons in my app(actual icons like the menu icon to open the app drawer). All icons now display as little crossed boxes. Now am trying to rebuild it and all but still nothing. Kindly tell me if this is an issue and if anyone has experienced it. I need a solution real quick

android: true ?

flutter_launcher_icons: "^0.5.2"
flutter_icons:
android: true
ios: "Select-Icon"
image_path: "assets/Select.png"
#image_path_android: "assets/icon/icon_android.png"
#image_path_ios: "assets/icon/icon_ios.png"
adaptive_icon_background: "#FFFAFAFA"
#adaptive_icon_foreground: "assets/icon/icon-foreground.png"

flutter pub pub run flutter_launcher_icons:main
Error on line 54, column 5 of pubspec.yaml: A dependency may only have one source.
android: true
^^^^^^^^^^^^^^
pub finished with exit code 65

Updated `Image` dependency

Can you possible update the Image dependency to 2.0.0? I want to include this latest version to my project, and I can't because dependency ranges don't overlap.

thanks!

This package causes an error in LicensePage

LicensePage raises an error if this plugin is specified as dependencies

Caused by com.kiwi.fluttercrashlytics.FlutterException: 'package:flutter/src/foundation/licenses.dart': Failed assertion: line 159 pos 14: 'result.text.trimLeft() == result.text': is not true.
       at _AssertionError._doThrowNew(liberrors_patch.dart:40)
       at _AssertionError._throwNew(liberrors_patch.dart:36)
       at LicenseEntryWithLineBreaks.paragraphs.getParagraph(licenses.dart:159)
       at LicenseEntryWithLineBreaks.paragraphs(licenses.dart:203)
       at _SyncIterator.moveNext(libcore_patch.dart:151)
       at new List.from(libarray_patch.dart:40)
       at Iterable.toList(iterable.dart:398)
       at _LicensePageState._initLicenses.<fn>(about.dart:391)
       at _TaskEntry.run.<fn>(binding.dart:81)
       at Timeline.timeSync(timeline.dart:168)
       at _TaskEntry.run(binding.dart:78)
       at _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleEventLoopCallback(binding.dart:363)
       at _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._runTasks(binding.dart:341)
       at ._rootRun(zone.dart:1120)
       at _CustomZone.run(zone.dart:1021)
       at _CustomZone.runGuarded(zone.dart:923)
       at _CustomZone.bindCallbackGuarded.<fn>(zone.dart:963)
       at ._rootRun(zone.dart:1124)
       at _CustomZone.run(zone.dart:1021)
       at _CustomZone.bindCallback.<fn>(zone.dart:947)
       at Timer._createTimer.<fn>(libtimer_patch.dart:21)
       at _Timer._runTimers(libtimer_impl.dart:382)
       at _Timer._handleMessage(libtimer_impl.dart:416)
       at _RawReceivePortImpl._handleMessage(libisolate_patch.dart:171)

Adaptive icons don't work

When I run flutter pub pub run flutter_launcher_icons:main following exception is thrown:

FileSystemException: Cannot copy file to 'android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml', path = '../assets/ic_launcher.xml' (OS Error: The system cannot find the file specified.

It seems that there is some problem with relative path '../assets/ic_launcher.xml' used in android.dart file.

Could not find a file named "pubspec.yaml"

I just added flutter_launcher_icons and when I run flutter pub get I get the following output:

Could not find a file named "pubspec.yaml" in https://github.com/MarkOSullivan94/dart_config.git 5ab9e70727d858def3a586db7fb98ee580352957.
pub get failed (1)

This prevents me from using the plugin. I am on the flutter beta channel v0.8.2.

Run on --profile or --build ?

Hello, is there any way to get this package to run on debug, profile, or build? I love the package but I want the process totally automated. Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.