Skip to content
This repository has been archived by the owner on Mar 4, 2023. It is now read-only.

Importing fluent icons does not work #8

Closed
Bakri-Alkhateeb opened this issue Oct 19, 2022 · 8 comments
Closed

Importing fluent icons does not work #8

Bakri-Alkhateeb opened this issue Oct 19, 2022 · 8 comments

Comments

@Bakri-Alkhateeb
Copy link

Hello,

I have updated the package to version 0.0.5 and suddenly the import "import 'package:iconify_flutter/icons/fluent.dart';" is not working anymore. Then I looked at the files and the fluent.dart is deleted.

is there something wrong with the fluent.dart?

@andronasef
Copy link
Owner

I am feel sorry 😐

But I had to remove some icon sets like fluent because of pub.dev limits the package size to be under 100mb

Sorry again but to solve this issue you have to rollback to version 0.0.5

Thanks 🙏

@Luducrous
Copy link

I was very happy to find this comment, since I have the same problem as @Bakri-Alkhateeb.

However, I come from package version 0.0.4 and upgraded to 0.0.5 and the package:iconify_flutter/icons/fluent.dart became non-existent.
Although I go back to version 0.0.4 it is still no longer available.

Any help?

@Luducrous
Copy link

Sad that the restriction for the package is 100 MB. I see the fluent.dart file is rather big with 9.2 MB compared to the others.
I was able to find a cached version of the package installed in my Developer folder.
Extracted the fluent.dart from there and put it inside the lib of my project to import it from there.

@Bakri-Alkhateeb
Copy link
Author

@andronasef Thank you for explaining.

@Luducrous Yes, that is the same thing that I did. I added the fluent.dart manually to version 0.0.5

@andronasef
Copy link
Owner

andronasef commented Oct 21, 2022

@Bakri-Alkhateeb @Luducrous
Thanks for understanding 😊

And I am happy that you could fix your issue

@Dampfwalze
Copy link

Maybe you can create a sub package for these large icon sets and depend on it from the main package!

Then in 'package:iconify_flutter/icons/fluent.dart' you could just export them like this:

export 'package:iconify_flutter_fluent/icons/fluent.dart'
// package:iconify_flutter_fluent would be the sub package for fluent

@andronasef
Copy link
Owner

Maybe you can create a sub package for these large icon sets and depend on it from the main package!

Then in 'package:iconify_flutter/icons/fluent.dart' you could just export them like this:

export 'package:iconify_flutter_fluent/icons/fluent.dart'
// package:iconify_flutter_fluent would be the sub package for fluent

I have thought about it but it will take me to make more than 3 packages

Sorry 😐 but it will be hard

@AbderraoufKhodja
Copy link

This should appear in the change log.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants