Answers for "flutter how to know of the device is android or ios"

1

flutter check ios or android

bool isIOS = Theme.of(context).platform == TargetPlatform.iOS;
bool isAndroid = Theme.of(context).platform == TargetPlatform.android;
Posted by: Guest on July-30-2020

Code answers related to "flutter how to know of the device is android or ios"

Browse Popular Code Answers by Language