-
Notifications
You must be signed in to change notification settings - Fork 26
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
324 access resources gui #482
Conversation
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.
url_launcher is a package for Flutter. the lib is not flutter, is just pure Dart, because it has to work with both the CLI and the GUI.
The getResource methods in the façage should just return URL, so that the CLI or the GUI
are the ones that open it using their available methods (For the GUI the url_launcher package and the CLI our own open URL method).
Right now, this will work when called from the GUI, but if we tried to call it from the CLI it will not, because url_launcher depends on flutter packages.
takeoff/takeoff_gui/lib/features/details/pages/resource_details.dart
Outdated
Show resolved
Hide resolved
takeoff/takeoff_gui/lib/features/details/pages/resource_details.dart
Outdated
Show resolved
Hide resolved
takeoff/takeoff_gui/lib/features/details/pages/resource_details.dart
Outdated
Show resolved
Hide resolved
takeoff/takeoff_gui/lib/features/details/pages/resource_details.dart
Outdated
Show resolved
Hide resolved
takeoff/takeoff_lib/lib/src/controllers/cloud/gcloud/gcloud_controller.dart
Outdated
Show resolved
Hide resolved
takeoff/takeoff_lib/lib/src/controllers/cloud/gcloud/gcloud_controller_impl.dart
Outdated
Show resolved
Hide resolved
takeoff/takeoff_gui/lib/features/home/controllers/projects_controller.dart
Outdated
Show resolved
Hide resolved
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.
No description provided.