mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-05-29 19:21:20 -04:00
add multiple accounts menu
This commit is contained in:
parent
b0d4e35c6f
commit
87bb1657c7
25 changed files with 583 additions and 70 deletions
14
lib/tools/package_info.dart
Normal file
14
lib/tools/package_info.dart
Normal file
|
@ -0,0 +1,14 @@
|
|||
import 'package:package_info_plus/package_info_plus.dart';
|
||||
|
||||
String packageInfoAppName = '';
|
||||
String packageInfoPackageName = '';
|
||||
String packageInfoVersion = '';
|
||||
String packageInfoBuildNumber = '';
|
||||
|
||||
Future<void> initPackageInfo() async {
|
||||
final packageInfo = await PackageInfo.fromPlatform();
|
||||
packageInfoAppName = packageInfo.appName;
|
||||
packageInfoPackageName = packageInfo.packageName;
|
||||
packageInfoVersion = packageInfo.version;
|
||||
packageInfoBuildNumber = packageInfo.buildNumber;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue