street_view_platform_interface 0.1.0-nullsafety.0 street_view_platform_interface: ^0.1.0-nullsafety.0 copied to clipboard
A Flutter package of street view platform interface.
street_view_platform_interface #
A view platform interface for the google_flutter_street_view plugin.
Usage #
To implement a new platform-specific implementation of google_flutter_street_view
, extend
StreetViewFlutterPlatform
with an implementation that performs the
platform-specific behavior, and when you register your plugin, set the default
StreetViewFlutterPlatform
by calling
StreetViewFlutterPlatform.instance = MyPlatformStreetViewFlutter()
.
Note on breaking changes #
Strongly prefer non-breaking changes (such as adding a method to the interface) over breaking changes for this package.
See https://flutter.dev/go/platform-interface-breaking-changes for a discussion on why a less-clean interface is preferable to a breaking change.