API Reference

1. Install Map3 Supercharge Flutter SDK

flutter pub add supercharge_flutter

2. Configure the Map3 Supercharge Flutter SDK

superchargeConfig = SuperchargeConfig( anonKey: 'YOUR_MAP3_ANON_KEY', userId: 'YOUR_END_USER_ID', options: SuperchargeConfigOptions( callbacks: SuperchargeConfigOptionsCallbacks( onAddressRequested: (coin, network) async { return { 'address': 'ADDRESS', }; // e.g. 0xab5801a7d398351b8be11c439e05c5b3259aec9b }, ), ), );

3. Initialize the Map3 Supercharge Flutter SDK

@override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: SuperchargeView( superchargeConfig: superchargeConfig, ), ), ); }

Detailed example

You can check out a detailed example project on our Github:

https://github.com/map3xyz/supercharge_flutter/tree/master/example

Other links