Skip to content
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
TODO on BitmapDescriptor
  • Loading branch information
yaakovschectman committed Sep 23, 2024
commit 5960b31bec64fe5c57299329454efe03071ee465
Original file line number Diff line number Diff line change
Expand Up @@ -2129,6 +2129,7 @@ public void setType(@NonNull PlatformCapType setterArg) {
this.type = setterArg;
}

/** The JSON data returned by BitmapDescriptor.toJson. */
private @Nullable Object bitmapDescriptor;

public @Nullable Object getBitmapDescriptor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ class PlatformCap {

PlatformCapType type;

/// The JSON data returned by BitmapDescriptor.toJson.
Object? bitmapDescriptor;

double? refWidth;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,10 @@ class PlatformCap {
PlatformCap({required this.type, this.bitmapDescriptor, this.refWidth});

final PlatformCapType type;

/// The JSON data returned by BitmapDescriptor.toJson.
// TODO(schectman): Convert to structured data.
// https://github.com/flutter/flutter/issues/155122
final Object? bitmapDescriptor;
final double? refWidth;
}
Expand Down