-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract helper_functions.dart
into a separate helper_functions
package
#1194
Conversation
Visit the preview URL for this PR (updated for commit dbed863): https://sharezone-website-dev--pr1194-helper-functions-pac-kr6tm54f.web.app (expires Mon, 18 Dec 2023 17:13:47 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 372b0431a96247f908d9a97d5d865de1c8b3b04e |
Visit the preview URL for this PR (updated for commit dbed863): https://sharezone-test--pr1194-helper-functions-pac-bg68e12r.web.app (expires Mon, 18 Dec 2023 17:15:02 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 4cb3ae61e1e018abfd9841fd3239f5b49ccc034b |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, lets try not to make it a "everything" package in the future.
I needed to make these changes to remove Firebase dependencies from sharezone_widgets, because the Sharezone Plus widgets depend on sharezone_widgets and the Sharezone Plus widgets will be integrated to our website. Having one Firebase dependency in Flutter, will load all Firebase SDKs for the web (is bad implemented). |
The package
sharezone_widgets
used theisNullOrEmpty()
/isNotNullOrEmpty()
method from thesharezone_common
package. However, thesharezone_common
package has a lot of Firebase dependencies. With extracting thehelper_functions.dart
into ahelper_functions
package, I removed all Firebase dependencies fromsharezone_widgets
👍