fix: Fix renderer issue for Safari/Firefox. (#241)

* fix: Fix renderer issue for Safari.

* fix: fix compile for native.

* chore: Improve flickering.
This commit is contained in:
CloudWebRTC
2023-03-08 10:28:10 +08:00
committed by GitHub
parent 2c72d6fd73
commit 6dc2bf6375
5 changed files with 33 additions and 2 deletions
+11
View File
@@ -9,6 +9,8 @@ bool lkPlatformIs(PlatformType type) => lkPlatform() == type;
bool lkPlatformIsTest() => Platform.environment.containsKey('FLUTTER_TEST');
BrowserType lkBrowser() => lkBrowserImplementation();
enum PlatformType {
web,
windows,
@@ -18,3 +20,12 @@ enum PlatformType {
fuchsia,
iOS,
}
enum BrowserType {
chrome,
firefox,
safari,
internetExplorer,
wkWebView,
unknown,
}