I am trying to build time tracker app in flutter desktop. I can take screenshots using screen_capture package. But how I can detect how active user was even if the application is in background. Please let me know how this could be achieved. Thank you
Asked
Active
Viewed 280 times
1 Answers
0
Flutter does not include any functionality to monitor other applications. You would need to implement it separately for each platform you support, using platform channels.

smorgan
- 20,228
- 3
- 47
- 55
-
Thank you for ansering. Can you give me any tutorial how I can do it? – Cee Jay Sep 27 '22 at 11:55
-
@CeeJay The page I linked to has a tutorial for implementing a platform channel. – smorgan Sep 28 '22 at 00:44