view/ohos_platform_view library
Properties
- isGromoreOhosPlatform → bool
-
当前 Flutter 是否运行在 HarmonyOS/OpenHarmony。
no setter
Functions
-
buildGromoreOhosPlatformView(
{required String viewType, required Map< String, dynamic> creationParams, required PlatformViewCreatedCallback onPlatformViewCreated, required Set<Factory< gestureRecognizers}) → WidgetOneSequenceGestureRecognizer> > - 创建鸿蒙原生广告视图。
-
registerGromoreOhosPlatformViewBuilder(
GromoreOhosPlatformViewBuilder builder) → void - 注册 Flutter OHOS 分支提供的 OhosView 构建器。
Typedefs
-
GromoreOhosPlatformViewBuilder
= Widget Function({required Map<
String, dynamic> creationParams, required Set<Factory< gestureRecognizers, required PlatformViewCreatedCallback onPlatformViewCreated, required String viewType})OneSequenceGestureRecognizer> >