flutter_root_detection
Flutter Root Detection for Both Android and IOS which does not run the application on root or sudo
Getting Started
_jailbroken = await FlutterRootDetection.jailbroken;
_developerMode = await FlutterRootDetection.developerMode;