Fix Platform check crashing on web

This commit is contained in:
Ming Ming 2021-04-12 16:33:24 +08:00
parent 83f90ceaa3
commit b4a667e0ee

View file

@ -1,3 +1,5 @@
import 'dart:io';
final isSupportMapView = Platform.isAndroid;
import 'package:flutter/foundation.dart';
final isSupportMapView = !kIsWeb && Platform.isAndroid;