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:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user