Skip to content

Instantly share code, notes, and snippets.

View venbrinoDev's full-sized avatar
🎯
Focusing

Agalaba Ifeanyi Precious venbrinoDev

🎯
Focusing
View GitHub Profile
extension on WidgetTester {
Future<void> launchApp() async {
await app.main();
await pumpAndSettle();
}
Future<void> clearState() async {
await SharedPreferences.getInstance().then((it) => it.clear());
}