MarkerIcon.bitmap constructor

MarkerIcon.bitmap(
  1. Uint8List bytes, {
  2. double width = 48,
  3. double height = 48,
})

⚠️ bitmap(不建议 Flutter → 原生)

Implementation

factory MarkerIcon.bitmap(
  Uint8List bytes, {
  double width = 48,
  double height = 48,
}) {
  return MarkerIcon._('bitmap', bytes, width: width, height: height);
}