BMFMapWidget constructor Null safety

const BMFMapWidget(
  1. {Key? key,
  2. required BMFMapCreatedCallback onBMFMapCreated,
  3. PlatformViewHitTestBehavior hitTestBehavior = PlatformViewHitTestBehavior.opaque,
  4. TextDirection? layoutDirection = TextDirection.ltr,
  5. BMFMapOptions? mapOptions}
)

BMFMapWidget构造方法

Implementation

const BMFMapWidget({
  Key? key,
  required this.onBMFMapCreated,
  this.hitTestBehavior = PlatformViewHitTestBehavior.opaque,
  this.layoutDirection = TextDirection.ltr,
  this.mapOptions,
}) : super(key: key);