The following error may be experienced when using arcgis_maps_toolkit 200.8.0 with Flutter 3.32.x.
Error:
Error: The method 'translateByDouble' isn't defined for the class 'Matrix4'.
This is due to a conflict with the dependency fl_chart from 1.0.0 to 1.1.x.
Workaround for developers using Flutter 3.32.x
Add the following dependency override in your application's pubspec.yaml file to resolve the dependency conflict:
# pubspec.yaml (in your application)
dependencies:
arcgis_maps: ^200.8.0
arcgis_maps_toolkit: ^200.8.0
dependency_overrides:
fl_chart: 1.0.0
then run flutter pub upgrade
Developers using Flutter 3.35.x
This issue is resolved when updating to Flutter 3.35.x, and the above workaround is not required.