setShowTips method

Future<void> setShowTips(
  1. bool value
)

Implementation

Future<void> setShowTips(bool value) async {
  SharedPreferences prefs = await SharedPreferences.getInstance();
  await prefs.setBool('showTips', value);
  _showTips = value;
  notifyListeners();
}