showInfoScreenIfNeeded method
Implementation
Future<void> showInfoScreenIfNeeded() async {
SharedPreferences prefs = await SharedPreferences.getInstance();
bool shouldShowInfoScreen = prefs.getBool('showInfoScreen') ?? true;
if (shouldShowInfoScreen) {
Get.dialog(const InfoScreen());
}
}