Created
December 6, 2020 21:02
-
-
Save VB10/271101e879a2db97bd047499146cd3db to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abstract class LineState extends Equatable { | |
final GoogleMapController controller; | |
final int currentIndex; | |
LineState(this.controller, this.currentIndex); | |
} | |
class MapsMarkerChange extends LineState { | |
MapsMarkerChange(GoogleMapController controller, int currentIndex) | |
: super(controller, currentIndex); | |
@override | |
List<Object> get props => [currentIndex]; | |
} | |
class GoogleMapsStateMarkers extends LineState { | |
final List<Marker> marrkers; | |
GoogleMapsStateMarkers( | |
GoogleMapController controller, int currentIndex, this.marrkers) | |
: super(controller, currentIndex); | |
@override | |
List<Object> get props => [controller, currentIndex]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment