Future<String> getUserName() async { SharedPreferences sp = await SharedPreferences.getInstance(); return sp.getString('name') ?? ''; }