feat: 添加应用品牌信息支持,重构主页 URL 生成逻辑

This commit is contained in:
Booker
2026-05-25 11:12:54 +07:00
parent abfd3717dc
commit cbe5bbb657
4 changed files with 142 additions and 10 deletions

View File

@@ -4,6 +4,9 @@ import 'package:im_webview_app/main.dart';
void main() {
test('creates the WebView shell app widget', () {
expect(const ImWebViewApp(), isA<Widget>());
expect(
const ImWebViewApp(shellBranding: ShellBranding.fallback),
isA<Widget>(),
);
});
}