a14n / dart-google-maps

A library to use Google Maps JavaScript API v3 from Dart scripts.
Other
125 stars 63 forks source link

Multiple Dependency Issue #118

Closed Snehal-Singh174 closed 1 year ago

Snehal-Singh174 commented 1 year ago

while adding googleMap inside a class that also has Icon supported by flutter widgets then getting conflict of imports issue

Screenshot 2023-03-30 at 3 33 30 PM
a14n commented 1 year ago

You can hide this class on the import directive:

import 'package:google_maps/google_maps.dart' hide Icon;

or import google_maps with a prefix:

import 'package:google_maps/google_maps.dart' as gmaps;