flutter-devicelocale
flutter-devicelocale copied to clipboard
Create a good way to mock the Devicelocale
Currently, it's kinda complicated to make unit tests on static classes that run the static methods of Devicelocale. It would be good if it was easier to do it. On the lib of UrlLauncher, for example, we can use MockPlatformInterfaceMixin and implement the interface UrlLauncherPlatform.