https://github.com/abandoft/abutil
Abandoft commonly used functions collection, simplify the software development process.
https://github.com/abandoft/abutil
Last synced: 4 months ago
JSON representation
Abandoft commonly used functions collection, simplify the software development process.
- Host: GitHub
- URL: https://github.com/abandoft/abutil
- Owner: abandoft
- License: mit
- Created: 2023-10-27T12:58:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-10-26T07:52:34.000Z (8 months ago)
- Last Synced: 2025-10-26T09:21:45.866Z (8 months ago)
- Language: Dart
- Size: 5.86 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Abandoft常用工具类
## 判断系统平台
```dart
isWeb()
isIOS()
isAndroid()
isMobile()
isWindows()
isMacOS()
isLinux()
isDesktop()
isOHOS() // OpenHarmony
```
## 重启应用
```dart
Reboot(MyApp)
rebootApp();
```
## 检查更新时间
```dart
haveUpdate(int versionCode, int latestVersion)
mustUpdate(var latestUpdateTime, String updateTime)
```