Flutter는 iOS와 Android를 동시에 개발할 수 있는 프레임워크이다.

import 'dart:io' show Platform;

if (Platform.isAndroid) {
  // Android-specific code
} else if (Platform.isIOS) {
  // iOS-specific code
}

위와 같은 코드를 이용해서 플랫폼 별로 따로 코드를 짤 수 있다.

profile
Hello Universe!

0개의 댓글