turnOnLocationButton method Null safety

Future<void> turnOnLocationButton(
  1. bool on
)

设置是否显示定位按钮

on - 是否显示

  • 只针对Android

Implementation

static Future<void> turnOnLocationButton(bool on) async {
  await _channel.invokeMethod('turnOnLocationButton', on);
}