Skip to content
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

Is iOS/Android/something getter in PatrolFinder #2411

Open
Albert221 opened this issue Nov 13, 2024 · 0 comments
Open

Is iOS/Android/something getter in PatrolFinder #2411

Albert221 opened this issue Nov 13, 2024 · 0 comments
Labels
feature New feature request

Comments

@Albert221
Copy link
Member

Use case

Automatic testers in my team sometimes need to use Platform.isIOS and Platform.isAndroid because of the different testing paths depending on the device's operating system. I don't like that they need to use dart:io for that. I would prefer if the $ PatrolFinder would have a nice getter that hides this dependency, or maybe makes it also support Web, etc.

Proposal

  • $.isAndroid
  • $.isIos
  • $.isWeb
  • etc.
@zoskar zoskar added the feature New feature request label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

2 participants