Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
refactor: Rename MapCompass.dart -> CompassMapAction.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
Myzel394 committed Sep 6, 2023
1 parent e9c3fec commit a7af971
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ import '../constants/spacing.dart';
import 'Paper.dart';
import 'PlatformFlavorWidget.dart';

class MapCompass extends StatefulWidget {
class CompassMapAction extends StatefulWidget {
final double dimension;
final double tooltipSpacing;
final VoidCallback onAlignNorth;
final MapController mapController;

const MapCompass({
const CompassMapAction({
super.key,
this.dimension = 50.0,
this.tooltipSpacing = 10.0,
Expand All @@ -28,10 +28,11 @@ class MapCompass extends StatefulWidget {
});

@override
State<MapCompass> createState() => _MapCompassState();
State<CompassMapAction> createState() => _CompassMapActionState();
}

class _MapCompassState extends State<MapCompass> with TickerProviderStateMixin {
class _CompassMapActionState extends State<CompassMapAction>
with TickerProviderStateMixin {
late final AnimationController rotationController;
late Animation<double> rotationAnimation;

Expand Down

0 comments on commit a7af971

Please sign in to comment.