안녕하세요 :) Zedd입니다. 오늘은 Flutter에서 지금 iOS환경인지..Android환경인지 구분하는 방법을 공부해보겠습니다! 먼저 foundation을 import해주세요. import 'package:flutter/foundation.dart' as foundation; 이제 foundation.defaultTargetPlatform == foundation.TargetPlatform.iOS; foundation.defaultTargetPlatform == foundation.TargetPlatform.android; 이런식으로 구분할 수 있습니다. 방법 1 : 프로퍼티를 만든다. class ZeddApp extends StatelessWidget { bool get isiOS => found..
Flutter
2020. 9. 18. 09:53
TAG
- IOS
- swift tutorial
- WKWebView
- Git
- Combine
- np-hard
- 제이슨 파싱
- 스위프트 문법
- iOS delegate
- np-complete
- Accessibility
- swift3
- swift delegate
- 스위프트
- WidgetKit
- Swift
- UIBezierPath
- actor
- 피아노
- swift sort
- Xcode
- FLUTTER
- github
- SwiftUI
- swift 공부
- ios 13
- swift array
- 회고
- fastlane
- WWDC
글 보관함
- Total
- Today
- Yesterday