Skip to content

[google_maps_flutter_web] Colors are not being passed correctly #67032

@ditman

Description

@ditman

Steps to Reproduce

  1. Create a Polyline with color: Colors.black
  2. Look at the app

Expected results:

A black polyline

Actual results:

A red polyline.

The problem is that the functions that convert Flutter colors (ARGB ints) to CSS color is dropping the last byte (instead of the first one), so

Black: 0xFF000000

Gets converted to: #FF0000 instead of #000000.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listp: mapsGoogle Maps pluginpackageflutter/packages repository. See also p: labels.platform-webWeb applications specifically

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions