This file contains 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
import 'package:flutter/material.dart'; | |
import 'package:flutter_map/flutter_map.dart' show MapController; | |
import 'package:latlong/latlong.dart'; | |
// //////////////////////////////////////////////////////////////////////////// | |
class AnimatedMapController { | |
/// Creates an animated MapController | |
AnimatedMapController({ | |
@required this.mapController, |
This file contains 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
// Decorable Protocol -------------------------------------------------------------------- | |
protocol IBeverage { | |
func description() -> String | |
func cost() -> Double | |
} | |
extension IBeverage { | |
func printDescription() { |