Skip to content

Commit

Permalink
Remove note about maybe needing to enable super mixins
Browse files Browse the repository at this point in the history
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.

flutter/flutter#14317 (comment)
  • Loading branch information
rorystephenson committed Mar 29, 2023
1 parent d7af5a9 commit 897957a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions example/lib/pages/animated_map_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@ class AnimatedMapControllerPageState extends State<AnimatedMapControllerPage>
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);
Expand Down

0 comments on commit 897957a

Please sign in to comment.