platform_utils 0.0.4 platform_utils: ^0.0.4 copied to clipboard
Returns value or run function based on Platform. If the context is passed, it will get the platform by Theme.of(context).platform. Otherwise, it will use defaultTargetPlatform.