This commit is contained in:
KG7x 2022-12-25 20:21:13 +03:00
parent 4e7568dec1
commit 71103886e6
20 changed files with 32 additions and 32 deletions

View file

@ -46,7 +46,7 @@ var isWebDesktop = false;
var version = "";
int androidVersion = 0;
/// only avaliable for Windows target
/// only available for Windows target
int windowsBuildNumber = 0;
DesktopType? desktopType;
@ -1373,7 +1373,7 @@ Future<Map<String, String>> getHttpHeaders() async {
};
}
// Simple wrapper of built-in types for refrence use.
// Simple wrapper of built-in types for reference use.
class SimpleWrapper<T> {
T value;
SimpleWrapper(this.value);
@ -1409,7 +1409,7 @@ Future<void> reloadAllWindows() async {
/// Indicate the flutter app is running in portable mode.
///
/// [Note]
/// Portable build is only avaliable on Windows.
/// Portable build is only available on Windows.
bool isRunningInPortableMode() {
if (!Platform.isWindows) {
return false;