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 }; }