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

Replace the existing screenshot example to multi display example #704

Merged
merged 10 commits into from
May 23, 2023

Conversation

ilopX
Copy link
Contributor

@ilopX ilopX commented May 15, 2023

GetClientRect(hwnd, rcClient);
class Display {
final String rawName;
final bool isTurnOn;
Copy link
Contributor

@loic-sharma loic-sharma May 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider the name active instead:

Suggested change
final bool isTurnOn;
final bool active;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me, isTurnOn sounds more expressive.
It might be better to call isConnected as @tbsmanish asked
image

Copy link
Contributor

@timsneath timsneath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much, @ilopX! A couple of other minor suggestions here. Happy to make the changes if you don't have time.

example/screenshot.dart Outdated Show resolved Hide resolved
example/screenshot.dart Outdated Show resolved Hide resolved
Copy link
Contributor

@timsneath timsneath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thanks so much, @ilopX!

@timsneath timsneath merged commit 12cab55 into halildurmus:main May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants