profile settings screen to show user information, move getPaymentProfile,getUserInfo,getChildProfiles request to sf shared, some refactors
This commit is contained in:
@@ -80,7 +80,7 @@ class PlatformAppState extends ConsumerState<PlatformApp>
|
||||
routerConfig: appRouter,
|
||||
debugShowCheckedModeBanner: false,
|
||||
localizationsDelegates: [
|
||||
// CountryLocalizations.getDelegate(enableLocalization: false),
|
||||
// CountryLocalizations.delegate,
|
||||
SFLocalizations.delegate,
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
GlobalCupertinoLocalizations.delegate,
|
||||
|
||||
@@ -103,6 +103,13 @@ void configureAppRouter() {
|
||||
path: AppRoutes.dashboardProfile,
|
||||
name: 'profile',
|
||||
pageBuilder: const ProfileBuilder().buildPage,
|
||||
routes: [
|
||||
GoRoute(
|
||||
path: 'settings',
|
||||
name: 'profile_settings',
|
||||
pageBuilder: const ProfileSettingsBuilder().buildPage,
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user