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
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.