📜  flutter kisweb - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:37.479000             🧑  作者: Mango

代码示例1
import 'package:flutter/foundation.dart' show kIsWeb;

if (kIsWeb) {
  // running on the web!
} else {
  // NOT running on the web! You can check for additional platforms here.
}