This commit is contained in:
lollipopkit
2024-04-23 19:49:02 +08:00
parent 73f2926469
commit 3ccb61fba2
7 changed files with 45 additions and 53 deletions

View File

@@ -44,12 +44,6 @@ enum OS {
OS.ios => 'iOS',
final val => val.name.upperFirst,
};
/// Whether has platform specific settings.
static final hasSpecSetting = switch (type) {
OS.android || OS.ios => true,
_ => false,
};
}
final isAndroid = OS.type == OS.android;