This commit is contained in:
Felipe
2024-03-15 16:55:01 -05:00
parent a3c50cf2c8
commit e5a8221edf
9 changed files with 337 additions and 115 deletions
+4 -3
View File
@@ -20,15 +20,16 @@ class GeneralDrawerHeader extends StatelessWidget {
CupertinoPageRoute(
builder: (BuildContext context) {
return const ProfileScreen();
// return const CityScreen();
},
),
);
},
title: Text(user.name ?? '',
overflow: TextOverflow.ellipsis,
style: const TextStyle(fontWeight: FontWeight.bold)),
subtitle:
Text(user.drawerLabel, style: const TextStyle(fontSize: 12)),
subtitle: Text(user.drawerLabel,
overflow: TextOverflow.ellipsis,
style: const TextStyle(fontSize: 12)),
leading: pictureWidget(user.picture, context),
trailing:
const Icon(Icons.keyboard_arrow_right, color: Colors.black),