Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
default value for textDirection
  • Loading branch information
bparrishMines committed Aug 2, 2021
commit d5709ce79bbdf40ddc40bd3e22d25c56bfb42484
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ class MethodChannelGoogleMapsFlutter extends GoogleMapsFlutterPlatform {
int creationId,
PlatformViewCreatedCallback onPlatformViewCreated, {
required CameraPosition initialCameraPosition,
required TextDirection textDirection,
TextDirection textDirection = TextDirection.ltr,
Set<Marker> markers = const <Marker>{},
Set<Polygon> polygons = const <Polygon>{},
Set<Polyline> polylines = const <Polyline>{},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ abstract class GoogleMapsFlutterPlatform extends PlatformInterface {

/// Returns a widget displaying the map view.
///
/// This method is similar to [buildView], but requires a parameter for
/// This method is similar to [buildView], but contains a parameter for
/// platforms that require a text direction.
///
/// Default behavior passes all parameters except `textDirection` to
Expand All @@ -368,7 +368,7 @@ abstract class GoogleMapsFlutterPlatform extends PlatformInterface {
int creationId,
PlatformViewCreatedCallback onPlatformViewCreated, {
required CameraPosition initialCameraPosition,
required TextDirection textDirection,
TextDirection textDirection = TextDirection.ltr,
Set<Marker> markers = const <Marker>{},
Set<Polygon> polygons = const <Polygon>{},
Set<Polyline> polylines = const <Polyline>{},
Expand Down