Implements support for Amplitude into the Flutter App Analytics package.
AmplitudeProvider amplitude = AmplitudeProvider(apiKey: '');
Analytics analytics = ...;
analytics.providers = [amplitude];
flutter test
We use build_runner to generate mocks from mockito:
flutter pub run build_runner build