📅  最后修改于: 2022-03-11 14:58:37.479000             🧑  作者: Mango
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.
}