street_view_platform_interface 1.0.8 street_view_platform_interface: ^1.0.8 copied to clipboard
A Flutter package of street view platform interface.
street_view_platform_interface #
A view platform interface for the flutter_google_street_view plugin.
Usage #
To implement a new platform-specific implementation of flutter_google_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.