Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/src/mapbox_map.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ typedef void MapCreatedCallback(MapboxMapController controller);

class MapboxMap extends StatefulWidget {
const MapboxMap({
Key key,
@required this.initialCameraPosition,
this.accessToken,
this.onMapCreated,
Expand Down Expand Up @@ -36,7 +37,8 @@ class MapboxMap extends StatefulWidget {
this.onCameraTrackingChanged,
this.onCameraIdle,
this.onMapIdle,
}) : assert(initialCameraPosition != null);
}) : assert(initialCameraPosition != null),
super(key: key);

/// If you want to use Mapbox hosted styles and map tiles, you need to provide a Mapbox access token.
/// Obtain a free access token on [your Mapbox account page](https://www.mapbox.com/account/access-tokens/).
Expand Down