Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add opportunity to use map in widget tests (#281)
Hey! I needed to use the map in widget tests. But as it uses platform views those are not working properly during widget tests. So I made some classes visible and added a method to provide fake `MethodChannelMaplibreGl` to `MapLibreGlPlatform`. Usage ```dart class FakeMethodChannelMaplibreGl implements MethodChannelMaplibreGl { ... } MapLibreGlPlatform.instance = FakeMethodChannelMaplibreGl(); ``` Co-authored-by: Kostiantyn Manoilo <k.manoilo@foodtech.team> Co-authored-by: Julian Bissekkou <36447137+JulianBissekkou@users.noreply.github.com>
- Loading branch information