Category : flutter-test

Debug Builds of the app are working fine but the signed build is not opening. After Installation of the signed build it shows like this. And then couldn’t move to Splash screen of the App. I tried all the solution available on the stack overflow but nothing works for this exact situation. Source: Android..

Read more

E/flutter (27761): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: NoSuchMethodError: The getter ‘length’ was called on null. E/flutter (27761): Receiver: null E/flutter (27761): Tried calling: length E/flutter (27761): #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:54:5) E/flutter (27761): #1 _Uri._uriEncode (dart:core-patch/uri_patch.dart:44:23) E/flutter (27761): #2 Uri.encodeQueryComponent (dart:core/uri.dart:1032:17) E/flutter (27761): #3 mapToQuery. (package:http/src/utils.dart:19:13) E/flutter (27761): #4 CastMap.forEach. (dart:_internal/cast.dart:288:8) E/flutter (27761): #5 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:397:8) E/flutter (27761): #6 ..

Read more

I have two same widget tests in one file like this: void main() { Widget testedWidget; setUpAll(() { GlobalConfiguration().loadFromMap(appSettings); getIt.registerSingleton<UserService>(UserService(), signalsReady: true); testedWidget = createWidgetForTesting(child: WebLoginScreen()); }); testWidgets("closeWidget", (WidgetTester tester) async { final width = 1920.0; final height = 1080.0; final dpi = tester.binding.window.devicePixelRatio; tester.binding.window.physicalSizeTestValue = Size(width * dpi, height * dpi); await tester.binding.setSurfaceSize(Size(width, height)); ..

Read more