loadShowTips method

Future<void> loadShowTips()

Implementation

Future<void> loadShowTips() async {
  SharedPreferences prefs = await SharedPreferences.getInstance();
  bool? showTipsValue = prefs.getBool('showTips');
  if (showTipsValue == null) {
    _showTips = true;
  } else {
    _showTips = showTipsValue;
  }
  notifyListeners();
}