void _onSubmitted(string text)
        {
            if (string.IsNullOrWhiteSpace(value: text))
            {
                CustomDialogUtils.showToast("不能发送空消息", Icons.error_outline);
                return;
            }

            this.widget.doneCallBack?.Invoke(text: text);
        }
 void _showBloggerDialog(Rect rect)
 {
     PreferencesManager.updateKingKongType(type: KingKongType.blogger);
     CustomDialogUtils.showCustomDialog(
         child: new Bubble(
             "这里可以发现很多大牛博主哦",
             rect.width - rect.width / 8.0f,
             rect.bottom - 16 - CCommonUtils.getSafeAreaTopPadding(context: this.context),
             contentRight: 16
             ),
         barrierDismissible: true
         );
 }
 void _showTinyGameDialog(Rect rect)
 {
     PreferencesManager.updateKingKongType(type: KingKongType.tinyGame);
     CustomDialogUtils.showCustomDialog(
         child: new Bubble(
             "这里可以看 Tiny Projects 哦",
             rect.left + rect.width / 2.0f,
             rect.bottom + 8 - CCommonUtils.getSafeAreaTopPadding(context: this.context),
             contentRight: 16
             ),
         barrierDismissible: true,
         onPop: () => {}
         );
 }
 void _showLeaderBoardDialog(Rect rect, List <KingKongType> kingKongTypes)
 {
     PreferencesManager.updateKingKongType(type: KingKongType.leaderBoard);
     CustomDialogUtils.showCustomDialog(
         child: new Bubble(
             "榜单上线,合辑、专栏、博主在这里哦",
             rect.width / 8.0f + rect.width / 4.0f,
             rect.bottom - 16 - CCommonUtils.getSafeAreaTopPadding(context: this.context),
             contentRight: 16
             ),
         barrierDismissible: true,
         onPop: () => {
         if (!kingKongTypes.Contains(item: KingKongType.blogger))
         {
             this._showBloggerDialog(rect: rect);
         }
     }
         );
 }
 void _showDailyCollectionDialog(Rect rect, List <KingKongType> kingKongTypes)
 {
     PreferencesManager.updateKingKongType(type: KingKongType.dailyCollection);
     CustomDialogUtils.showCustomDialog(
         child: new Bubble(
             "每日精选1篇文章,记得查看哦",
             rect.width / 8.0f,
             rect.bottom - 16 - CCommonUtils.getSafeAreaTopPadding(context: this.context),
             16
             ),
         barrierDismissible: true,
         onPop: () => {
         if (!kingKongTypes.Contains(item: KingKongType.leaderBoard))
         {
             this._showLeaderBoardDialog(rect: rect, kingKongTypes: kingKongTypes);
         }
     }
         );
 }