testing library
An in-memory InAppMessaging for tests of apps that show messages.
final messaging = FakeInAppMessaging(
navigatorKey: navigatorKey,
messages: [InAppMessage(id: 'sale', layout: InAppMessageLayout.modal, title: 'Sale')],
);
Classes
- FakeInAppMessaging
- An InAppMessaging whose campaigns are a list in memory, for widget tests of an app's screens and button callbacks, without Supabase.