This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Common function which we put in PUBFUN | |
static void openMultiSelectDialogGenericDynamic({ | |
required List<CommonStringModel> items, | |
required RxList<CommonStringModel> selectedItems, | |
required String title, | |
required Function(List<CommonStringModel>)? onSelectionChanged, | |
}) { | |
showDialog( | |
context: Get.context!, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static Future<String> get appVersion async { | |
PackageInfo packageInfo = await PackageInfo.fromPlatform(); | |
String version = packageInfo.version; | |
return version; | |
} | |
static Future<String> get packageName async { | |
PackageInfo packageInfo = await PackageInfo.fromPlatform(); | |
String packageName = packageInfo.packageName; | |
return packageName; |