User Profile API's & Image

aamir_dev
Aamir.Muhammad 2 years ago
parent fdf432f30d
commit 82a5af9170

@ -21,6 +21,6 @@
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1.0</string> <string>1.0</string>
<key>MinimumOSVersion</key> <key>MinimumOSVersion</key>
<string>11.0</string> <string>12.0</string>
</dict> </dict>
</plist> </plist>

@ -51,7 +51,7 @@ Future<void> main() async {
), ),
), ),
ChangeNotifierProvider<UserVM>( ChangeNotifierProvider<UserVM>(
create: (_) => UserVM(userRepo: injector.get<UserRepo>()), create: (_) => UserVM(userRepo: injector.get<UserRepo>(), commanServices: injector.get<CommonAppServices>()),
), ),
ChangeNotifierProvider<AdVM>( ChangeNotifierProvider<AdVM>(
create: (_) => AdVM( create: (_) => AdVM(

@ -135,7 +135,6 @@ class _DashboardPageState extends State<DashboardPage> {
backgroundColor: null, backgroundColor: null,
leadingWidth: 100, leadingWidth: 100,
title: getPageTitle(dashboardVM.selectedNavbarBarIndex), title: getPageTitle(dashboardVM.selectedNavbarBarIndex),
profileImageUrl: MyAssets.bnCar,
isRemoveBackButton: true, isRemoveBackButton: true,
isDrawerEnabled: isHomePage ? true : false, isDrawerEnabled: isHomePage ? true : false,
onTap: () { onTap: () {

Loading…
Cancel
Save