myAccount property

RouteHref myAccount
final

Implementation

static final RouteHref myAccount = RouteHref(
  path: '/user/my_account',
  titleBuilder: (_) => 'My Account',
  builder: (routeEvent) => wrapWithNavigator(
      routeEvent,
      (_) => EditableListConfiguration(
          cellBuilder: (context, item, action) {
            return Consumer<DeletedItemsChangeNotifier>(
                builder: (context, deletedItems, child) {
              return buildItemWidget(context, item, actionEditable: action);
            });
          },
          child: const AccountLandingScreen(mediaTag: 'account')),
      isLargeFormatLayout(routeEvent.context!),
      debugName: "MyAccount",
      navigatorKey: GlobalKey(),
      popOuterNavigator: true),
  dialogIf: (routeEvent) => isLargeFormatLayout(routeEvent.context!),
  requiresAuth: (_) => true,
);