feat:新增直播组件相关配置

master
wangyong 2023-03-09 10:47:56 +08:00
parent ec2d6aa029
commit 9a14315e2a
1 changed files with 4 additions and 0 deletions

View File

@ -90,6 +90,9 @@ class UIConfig {
//appletText //appletText
String? appletText; String? appletText;
///使live
bool useNativeLiveComponent = false;
Map<String, dynamic> toMap() { Map<String, dynamic> toMap() {
return { return {
"navigationTitleTextAttributes": navigationTitleTextAttributes, "navigationTitleTextAttributes": navigationTitleTextAttributes,
@ -106,6 +109,7 @@ class UIConfig {
"floatWindowConfig": floatWindowConfig?.toMap(), "floatWindowConfig": floatWindowConfig?.toMap(),
"progressBarColor": progressBarColor, "progressBarColor": progressBarColor,
"autoAdaptDarkMode": autoAdaptDarkMode, "autoAdaptDarkMode": autoAdaptDarkMode,
"useNativeLiveComponent": useNativeLiveComponent,
"appletText": appletText "appletText": appletText
}; };
} }