From 9a14315e2a7e42548d65fa69ce1740c5c3546c04 Mon Sep 17 00:00:00 2001 From: wangyong Date: Thu, 9 Mar 2023 10:47:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=96=B0=E5=A2=9E=E7=9B=B4=E6=92=AD?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E7=9B=B8=E5=85=B3=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/mop.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/mop.dart b/lib/mop.dart index 2f18283..fb94edf 100644 --- a/lib/mop.dart +++ b/lib/mop.dart @@ -90,6 +90,9 @@ class UIConfig { //注入小程序统称appletText字符串,默认为“小程序”。 String? appletText; + ///是否使用我们内部实现的live组件(直播组件) + bool useNativeLiveComponent = false; + Map toMap() { return { "navigationTitleTextAttributes": navigationTitleTextAttributes, @@ -106,6 +109,7 @@ class UIConfig { "floatWindowConfig": floatWindowConfig?.toMap(), "progressBarColor": progressBarColor, "autoAdaptDarkMode": autoAdaptDarkMode, + "useNativeLiveComponent": useNativeLiveComponent, "appletText": appletText }; }