FlutterStreetView constructor

const FlutterStreetView({
  1. Key? key,
  2. required double latitude,
  3. required double longitude,
  4. required String apiKey,
  5. MarkerOptions? markerOptions,
  6. StreetViewOptions streetViewOptions = const StreetViewOptions(),
  7. ValueChanged<String>? onMessageReceived,
  8. ValueChanged<StreetViewException>? onError,
  9. WidgetBuilder? loadingBuilder,
  10. Widget errorBuilder(
    1. BuildContext,
    2. String
    )?,
})

Implementation

const FlutterStreetView({
  super.key,
  required this.latitude,
  required this.longitude,
  required this.apiKey,
  this.markerOptions,
  this.streetViewOptions = const StreetViewOptions(),
  this.onMessageReceived,
  this.onError,
  this.loadingBuilder,
  this.errorBuilder,
});