addScreenShotListener method
Listen when user screenshot the screen You can add listener multiple time, and every listener will be executed Note : filePath only work for android
Implementation
void addScreenShotListener(Function(String filePath) callback) {
_screenshotListener.add(callback);
}