[flutter] os 확인하기

import 'dart:io' show Platform;

Platform.isAndroid
Platform.isFuchsia
Platform.isIOS
Platform.isLinux
Platform.isMacOS
Platform.isWindows

defaultTargetPlatform // TargetPlatform.iOS
Theme.of(context).platform // TargetPlatform.iOS