From 897957a485e2c18459c2c217e5b16a72d0da69c4 Mon Sep 17 00:00:00 2001 From: Rory Stephenson Date: Wed, 29 Mar 2023 15:14:01 +0200 Subject: [PATCH] Remove note about maybe needing to enable super mixins Super mixins are enabled by default since flutter 2.1 which is below flutter_map's package minimum requirement. See this comment and thread for why this note was there and why it can be removed. https://github.com/flutter/flutter/issues/14317#issuecomment-446242762 --- example/lib/pages/animated_map_controller.dart | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/example/lib/pages/animated_map_controller.dart b/example/lib/pages/animated_map_controller.dart index 1aedead17..850d2f5e0 100644 --- a/example/lib/pages/animated_map_controller.dart +++ b/example/lib/pages/animated_map_controller.dart @@ -20,16 +20,6 @@ class AnimatedMapControllerPageState extends State static const _inProgressId = 'AnimatedMapController#MoveInProgress'; static const _finishedId = 'AnimatedMapController#MoveFinished'; - // Note the addition of the TickerProviderStateMixin here. If you are getting an error like - // 'The class 'TickerProviderStateMixin' can't be used as a mixin because it extends a class other than Object.' - // in your IDE, you can probably fix it by adding an analysis_options.yaml file to your project - // with the following content: - // analyzer: - // language: - // enableSuperMixins: true - // See https://github.com/flutter/flutter/issues/14317#issuecomment-361085869 - // This project didn't require that change, so YMMV. - static final london = LatLng(51.5, -0.09); static final paris = LatLng(48.8566, 2.3522); static final dublin = LatLng(53.3498, -6.2603);