feat(app): 完善播放协议搜索与空状态
This commit is contained in:
1 parent
671e0ce143
commit
ef29fc5f15
85 files changed
+2976
-768
No files matched your search
@@ -0,0 +1,12 @@
|
||||
// Author: fruit.com.cn
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'legal_web_page.dart';
|
||||
|
||||
/// 在当前 App 里打开协议地址。
|
||||
Future<void> openLegalUrlOrNotify(BuildContext context, String url) {
|
||||
return Navigator.of(context).push<void>(
|
||||
MaterialPageRoute<void>(builder: (_) => LegalWebPage(url: url)),
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user