Future<int> getCurrentPosition() async { int currentPosition = sharedPref.getInt("CurrentPosition") ?? 0; return currentPosition; }