Install the Journey Static Map Flutter SDK into your application
To get started, first install the package:
Copy
dart pub add static_map
Then, initialize the SDK with your API key. You can do this in your main function:
lib/main.dart
Copy
import 'package:static_map/static_map.dart';void main() { // Initialize the SDK with your API key StaticMap.initialize(apiKey: '12345678'); runApp(MyApp());}
Done! You can now use the SDK to create static maps in your Flutter application. See the Usage section for more information.