Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Metadata in a separate file #7

Closed
gaara87 opened this issue Dec 20, 2017 · 2 comments
Closed

Metadata in a separate file #7

gaara87 opened this issue Dec 20, 2017 · 2 comments

Comments

@gaara87
Copy link

gaara87 commented Dec 20, 2017

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"
@franzsilva
Copy link
Collaborator

This sounds interesting not to overload the pubspec file.
I'll ask for the opinion of @sethladd from the dart team to see what he thinks. see if its a pattern that is used in dart.

What do you think @sethladd?

@gaara87
Copy link
Author

gaara87 commented Dec 21, 2017 via email

@monizj monizj mentioned this issue Oct 19, 2020
marcobazzani added a commit to marcobazzani/flutter_launcher_icons that referenced this issue Dec 18, 2021
Fixing this error on new flutter configs 
```
  ════════════════════════════════════════════
     FLUTTER LAUNCHER ICONS (v0.9.1)
  ════════════════════════════════════════════


✓ Successfully generated launcher icons
Unhandled exception:
FormatException: Invalid number (at character 1)

^

#0      int._handleFormatError (dart:core-patch/integers_patch.dart:129:7)
fluttercommunity#1      int.parse (dart:core-patch/integers_patch.dart:55:14)
fluttercommunity#2      minSdk (package:flutter_launcher_icons/android.dart:309:18)
fluttercommunity#3      createIconsFromConfig (package:flutter_launcher_icons/main.dart:94:47)
fluttercommunity#4      createIconsFromArguments (package:flutter_launcher_icons/main.dart:60:7)
fluttercommunity#5      main (file:///Users/marcobazzani/Projects/flutter_launcher_icons/bin/main.dart:6:26)
fluttercommunity#6      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:295:32)
fluttercommunity#7      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)
```
@beingbivek beingbivek mentioned this issue Mar 2, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants