♻️ Refactor riverpod pagination loading

This commit is contained in:
2025-05-15 23:29:37 +08:00
parent 2759c009ad
commit dfd216b84b
28 changed files with 1018 additions and 360 deletions

View File

@ -9,9 +9,9 @@
// coverage:ignore-file
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:auto_route/auto_route.dart' as _i23;
import 'package:flutter/material.dart' as _i24;
import 'package:island/models/post.dart' as _i25;
import 'package:auto_route/auto_route.dart' as _i24;
import 'package:flutter/material.dart' as _i25;
import 'package:island/models/post.dart' as _i26;
import 'package:island/screens/account.dart' as _i2;
import 'package:island/screens/account/me.dart' as _i15;
import 'package:island/screens/account/me/event_calendar.dart' as _i14;
@ -34,14 +34,15 @@ import 'package:island/screens/posts/pub_profile.dart' as _i18;
import 'package:island/screens/realm/detail.dart' as _i19;
import 'package:island/screens/realm/realms.dart' as _i9;
import 'package:island/screens/settings.dart' as _i20;
import 'package:island/screens/wallet.dart' as _i23;
/// generated route for
/// [_i1.AccountProfileScreen]
class AccountProfileRoute extends _i23.PageRouteInfo<AccountProfileRouteArgs> {
class AccountProfileRoute extends _i24.PageRouteInfo<AccountProfileRouteArgs> {
AccountProfileRoute({
_i24.Key? key,
_i25.Key? key,
required String name,
List<_i23.PageRouteInfo>? children,
List<_i24.PageRouteInfo>? children,
}) : super(
AccountProfileRoute.name,
args: AccountProfileRouteArgs(key: key, name: name),
@ -51,7 +52,7 @@ class AccountProfileRoute extends _i23.PageRouteInfo<AccountProfileRouteArgs> {
static const String name = 'AccountProfileRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
@ -67,7 +68,7 @@ class AccountProfileRoute extends _i23.PageRouteInfo<AccountProfileRouteArgs> {
class AccountProfileRouteArgs {
const AccountProfileRouteArgs({this.key, required this.name});
final _i24.Key? key;
final _i25.Key? key;
final String name;
@ -79,13 +80,13 @@ class AccountProfileRouteArgs {
/// generated route for
/// [_i2.AccountScreen]
class AccountRoute extends _i23.PageRouteInfo<void> {
const AccountRoute({List<_i23.PageRouteInfo>? children})
class AccountRoute extends _i24.PageRouteInfo<void> {
const AccountRoute({List<_i24.PageRouteInfo>? children})
: super(AccountRoute.name, initialChildren: children);
static const String name = 'AccountRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i2.AccountScreen();
@ -95,11 +96,11 @@ class AccountRoute extends _i23.PageRouteInfo<void> {
/// generated route for
/// [_i3.ChatDetailScreen]
class ChatDetailRoute extends _i23.PageRouteInfo<ChatDetailRouteArgs> {
class ChatDetailRoute extends _i24.PageRouteInfo<ChatDetailRouteArgs> {
ChatDetailRoute({
_i24.Key? key,
_i25.Key? key,
required String id,
List<_i23.PageRouteInfo>? children,
List<_i24.PageRouteInfo>? children,
}) : super(
ChatDetailRoute.name,
args: ChatDetailRouteArgs(key: key, id: id),
@ -109,7 +110,7 @@ class ChatDetailRoute extends _i23.PageRouteInfo<ChatDetailRouteArgs> {
static const String name = 'ChatDetailRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
@ -124,7 +125,7 @@ class ChatDetailRoute extends _i23.PageRouteInfo<ChatDetailRouteArgs> {
class ChatDetailRouteArgs {
const ChatDetailRouteArgs({this.key, required this.id});
final _i24.Key? key;
final _i25.Key? key;
final String id;
@ -136,13 +137,13 @@ class ChatDetailRouteArgs {
/// generated route for
/// [_i4.ChatListScreen]
class ChatListRoute extends _i23.PageRouteInfo<void> {
const ChatListRoute({List<_i23.PageRouteInfo>? children})
class ChatListRoute extends _i24.PageRouteInfo<void> {
const ChatListRoute({List<_i24.PageRouteInfo>? children})
: super(ChatListRoute.name, initialChildren: children);
static const String name = 'ChatListRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i4.ChatListScreen();
@ -152,11 +153,11 @@ class ChatListRoute extends _i23.PageRouteInfo<void> {
/// generated route for
/// [_i5.ChatRoomScreen]
class ChatRoomRoute extends _i23.PageRouteInfo<ChatRoomRouteArgs> {
class ChatRoomRoute extends _i24.PageRouteInfo<ChatRoomRouteArgs> {
ChatRoomRoute({
_i24.Key? key,
_i25.Key? key,
required String id,
List<_i23.PageRouteInfo>? children,
List<_i24.PageRouteInfo>? children,
}) : super(
ChatRoomRoute.name,
args: ChatRoomRouteArgs(key: key, id: id),
@ -166,7 +167,7 @@ class ChatRoomRoute extends _i23.PageRouteInfo<ChatRoomRouteArgs> {
static const String name = 'ChatRoomRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
@ -181,7 +182,7 @@ class ChatRoomRoute extends _i23.PageRouteInfo<ChatRoomRouteArgs> {
class ChatRoomRouteArgs {
const ChatRoomRouteArgs({this.key, required this.id});
final _i24.Key? key;
final _i25.Key? key;
final String id;
@ -193,13 +194,13 @@ class ChatRoomRouteArgs {
/// generated route for
/// [_i6.CreateAccountScreen]
class CreateAccountRoute extends _i23.PageRouteInfo<void> {
const CreateAccountRoute({List<_i23.PageRouteInfo>? children})
class CreateAccountRoute extends _i24.PageRouteInfo<void> {
const CreateAccountRoute({List<_i24.PageRouteInfo>? children})
: super(CreateAccountRoute.name, initialChildren: children);
static const String name = 'CreateAccountRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i6.CreateAccountScreen();
@ -209,13 +210,13 @@ class CreateAccountRoute extends _i23.PageRouteInfo<void> {
/// generated route for
/// [_i7.CreatorHubScreen]
class CreatorHubRoute extends _i23.PageRouteInfo<void> {
const CreatorHubRoute({List<_i23.PageRouteInfo>? children})
class CreatorHubRoute extends _i24.PageRouteInfo<void> {
const CreatorHubRoute({List<_i24.PageRouteInfo>? children})
: super(CreatorHubRoute.name, initialChildren: children);
static const String name = 'CreatorHubRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i7.CreatorHubScreen();
@ -225,8 +226,8 @@ class CreatorHubRoute extends _i23.PageRouteInfo<void> {
/// generated route for
/// [_i4.EditChatScreen]
class EditChatRoute extends _i23.PageRouteInfo<EditChatRouteArgs> {
EditChatRoute({_i24.Key? key, String? id, List<_i23.PageRouteInfo>? children})
class EditChatRoute extends _i24.PageRouteInfo<EditChatRouteArgs> {
EditChatRoute({_i25.Key? key, String? id, List<_i24.PageRouteInfo>? children})
: super(
EditChatRoute.name,
args: EditChatRouteArgs(key: key, id: id),
@ -236,7 +237,7 @@ class EditChatRoute extends _i23.PageRouteInfo<EditChatRouteArgs> {
static const String name = 'EditChatRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
@ -251,7 +252,7 @@ class EditChatRoute extends _i23.PageRouteInfo<EditChatRouteArgs> {
class EditChatRouteArgs {
const EditChatRouteArgs({this.key, this.id});
final _i24.Key? key;
final _i25.Key? key;
final String? id;
@ -263,11 +264,11 @@ class EditChatRouteArgs {
/// generated route for
/// [_i8.EditPublisherScreen]
class EditPublisherRoute extends _i23.PageRouteInfo<EditPublisherRouteArgs> {
class EditPublisherRoute extends _i24.PageRouteInfo<EditPublisherRouteArgs> {
EditPublisherRoute({
_i24.Key? key,
_i25.Key? key,
String? name,
List<_i23.PageRouteInfo>? children,
List<_i24.PageRouteInfo>? children,
}) : super(
EditPublisherRoute.name,
args: EditPublisherRouteArgs(key: key, name: name),
@ -277,7 +278,7 @@ class EditPublisherRoute extends _i23.PageRouteInfo<EditPublisherRouteArgs> {
static const String name = 'EditPublisherRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
@ -292,7 +293,7 @@ class EditPublisherRoute extends _i23.PageRouteInfo<EditPublisherRouteArgs> {
class EditPublisherRouteArgs {
const EditPublisherRouteArgs({this.key, this.name});
final _i24.Key? key;
final _i25.Key? key;
final String? name;
@ -304,11 +305,11 @@ class EditPublisherRouteArgs {
/// generated route for
/// [_i9.EditRealmScreen]
class EditRealmRoute extends _i23.PageRouteInfo<EditRealmRouteArgs> {
class EditRealmRoute extends _i24.PageRouteInfo<EditRealmRouteArgs> {
EditRealmRoute({
_i24.Key? key,
_i25.Key? key,
String? slug,
List<_i23.PageRouteInfo>? children,
List<_i24.PageRouteInfo>? children,
}) : super(
EditRealmRoute.name,
args: EditRealmRouteArgs(key: key, slug: slug),
@ -318,7 +319,7 @@ class EditRealmRoute extends _i23.PageRouteInfo<EditRealmRouteArgs> {
static const String name = 'EditRealmRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
@ -333,7 +334,7 @@ class EditRealmRoute extends _i23.PageRouteInfo<EditRealmRouteArgs> {
class EditRealmRouteArgs {
const EditRealmRouteArgs({this.key, this.slug});
final _i24.Key? key;
final _i25.Key? key;
final String? slug;
@ -346,12 +347,12 @@ class EditRealmRouteArgs {
/// generated route for
/// [_i10.EditStickerPacksScreen]
class EditStickerPacksRoute
extends _i23.PageRouteInfo<EditStickerPacksRouteArgs> {
extends _i24.PageRouteInfo<EditStickerPacksRouteArgs> {
EditStickerPacksRoute({
_i24.Key? key,
_i25.Key? key,
required String pubName,
String? packId,
List<_i23.PageRouteInfo>? children,
List<_i24.PageRouteInfo>? children,
}) : super(
EditStickerPacksRoute.name,
args: EditStickerPacksRouteArgs(
@ -365,7 +366,7 @@ class EditStickerPacksRoute
static const String name = 'EditStickerPacksRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
@ -392,7 +393,7 @@ class EditStickerPacksRouteArgs {
this.packId,
});
final _i24.Key? key;
final _i25.Key? key;
final String pubName;
@ -406,12 +407,12 @@ class EditStickerPacksRouteArgs {
/// generated route for
/// [_i11.EditStickersScreen]
class EditStickersRoute extends _i23.PageRouteInfo<EditStickersRouteArgs> {
class EditStickersRoute extends _i24.PageRouteInfo<EditStickersRouteArgs> {
EditStickersRoute({
_i24.Key? key,
_i25.Key? key,
required String packId,
required String? id,
List<_i23.PageRouteInfo>? children,
List<_i24.PageRouteInfo>? children,
}) : super(
EditStickersRoute.name,
args: EditStickersRouteArgs(key: key, packId: packId, id: id),
@ -421,7 +422,7 @@ class EditStickersRoute extends _i23.PageRouteInfo<EditStickersRouteArgs> {
static const String name = 'EditStickersRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
@ -448,7 +449,7 @@ class EditStickersRouteArgs {
required this.id,
});
final _i24.Key? key;
final _i25.Key? key;
final String packId;
@ -462,13 +463,13 @@ class EditStickersRouteArgs {
/// generated route for
/// [_i12.ExploreScreen]
class ExploreRoute extends _i23.PageRouteInfo<void> {
const ExploreRoute({List<_i23.PageRouteInfo>? children})
class ExploreRoute extends _i24.PageRouteInfo<void> {
const ExploreRoute({List<_i24.PageRouteInfo>? children})
: super(ExploreRoute.name, initialChildren: children);
static const String name = 'ExploreRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i12.ExploreScreen();
@ -478,13 +479,13 @@ class ExploreRoute extends _i23.PageRouteInfo<void> {
/// generated route for
/// [_i13.LoginScreen]
class LoginRoute extends _i23.PageRouteInfo<void> {
const LoginRoute({List<_i23.PageRouteInfo>? children})
class LoginRoute extends _i24.PageRouteInfo<void> {
const LoginRoute({List<_i24.PageRouteInfo>? children})
: super(LoginRoute.name, initialChildren: children);
static const String name = 'LoginRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i13.LoginScreen();
@ -494,13 +495,13 @@ class LoginRoute extends _i23.PageRouteInfo<void> {
/// generated route for
/// [_i8.ManagedPublisherScreen]
class ManagedPublisherRoute extends _i23.PageRouteInfo<void> {
const ManagedPublisherRoute({List<_i23.PageRouteInfo>? children})
class ManagedPublisherRoute extends _i24.PageRouteInfo<void> {
const ManagedPublisherRoute({List<_i24.PageRouteInfo>? children})
: super(ManagedPublisherRoute.name, initialChildren: children);
static const String name = 'ManagedPublisherRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i8.ManagedPublisherScreen();
@ -510,13 +511,13 @@ class ManagedPublisherRoute extends _i23.PageRouteInfo<void> {
/// generated route for
/// [_i14.MyselfEventCalendarScreen]
class MyselfEventCalendarRoute extends _i23.PageRouteInfo<void> {
const MyselfEventCalendarRoute({List<_i23.PageRouteInfo>? children})
class MyselfEventCalendarRoute extends _i24.PageRouteInfo<void> {
const MyselfEventCalendarRoute({List<_i24.PageRouteInfo>? children})
: super(MyselfEventCalendarRoute.name, initialChildren: children);
static const String name = 'MyselfEventCalendarRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i14.MyselfEventCalendarScreen();
@ -526,13 +527,13 @@ class MyselfEventCalendarRoute extends _i23.PageRouteInfo<void> {
/// generated route for
/// [_i15.MyselfProfileScreen]
class MyselfProfileRoute extends _i23.PageRouteInfo<void> {
const MyselfProfileRoute({List<_i23.PageRouteInfo>? children})
class MyselfProfileRoute extends _i24.PageRouteInfo<void> {
const MyselfProfileRoute({List<_i24.PageRouteInfo>? children})
: super(MyselfProfileRoute.name, initialChildren: children);
static const String name = 'MyselfProfileRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i15.MyselfProfileScreen();
@ -542,13 +543,13 @@ class MyselfProfileRoute extends _i23.PageRouteInfo<void> {
/// generated route for
/// [_i4.NewChatScreen]
class NewChatRoute extends _i23.PageRouteInfo<void> {
const NewChatRoute({List<_i23.PageRouteInfo>? children})
class NewChatRoute extends _i24.PageRouteInfo<void> {
const NewChatRoute({List<_i24.PageRouteInfo>? children})
: super(NewChatRoute.name, initialChildren: children);
static const String name = 'NewChatRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i4.NewChatScreen();
@ -558,13 +559,13 @@ class NewChatRoute extends _i23.PageRouteInfo<void> {
/// generated route for
/// [_i8.NewPublisherScreen]
class NewPublisherRoute extends _i23.PageRouteInfo<void> {
const NewPublisherRoute({List<_i23.PageRouteInfo>? children})
class NewPublisherRoute extends _i24.PageRouteInfo<void> {
const NewPublisherRoute({List<_i24.PageRouteInfo>? children})
: super(NewPublisherRoute.name, initialChildren: children);
static const String name = 'NewPublisherRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i8.NewPublisherScreen();
@ -574,13 +575,13 @@ class NewPublisherRoute extends _i23.PageRouteInfo<void> {
/// generated route for
/// [_i9.NewRealmScreen]
class NewRealmRoute extends _i23.PageRouteInfo<void> {
const NewRealmRoute({List<_i23.PageRouteInfo>? children})
class NewRealmRoute extends _i24.PageRouteInfo<void> {
const NewRealmRoute({List<_i24.PageRouteInfo>? children})
: super(NewRealmRoute.name, initialChildren: children);
static const String name = 'NewRealmRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i9.NewRealmScreen();
@ -591,11 +592,11 @@ class NewRealmRoute extends _i23.PageRouteInfo<void> {
/// generated route for
/// [_i10.NewStickerPacksScreen]
class NewStickerPacksRoute
extends _i23.PageRouteInfo<NewStickerPacksRouteArgs> {
extends _i24.PageRouteInfo<NewStickerPacksRouteArgs> {
NewStickerPacksRoute({
_i24.Key? key,
_i25.Key? key,
required String pubName,
List<_i23.PageRouteInfo>? children,
List<_i24.PageRouteInfo>? children,
}) : super(
NewStickerPacksRoute.name,
args: NewStickerPacksRouteArgs(key: key, pubName: pubName),
@ -605,7 +606,7 @@ class NewStickerPacksRoute
static const String name = 'NewStickerPacksRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
@ -622,7 +623,7 @@ class NewStickerPacksRoute
class NewStickerPacksRouteArgs {
const NewStickerPacksRouteArgs({this.key, required this.pubName});
final _i24.Key? key;
final _i25.Key? key;
final String pubName;
@ -634,11 +635,11 @@ class NewStickerPacksRouteArgs {
/// generated route for
/// [_i11.NewStickersScreen]
class NewStickersRoute extends _i23.PageRouteInfo<NewStickersRouteArgs> {
class NewStickersRoute extends _i24.PageRouteInfo<NewStickersRouteArgs> {
NewStickersRoute({
_i24.Key? key,
_i25.Key? key,
required String packId,
List<_i23.PageRouteInfo>? children,
List<_i24.PageRouteInfo>? children,
}) : super(
NewStickersRoute.name,
args: NewStickersRouteArgs(key: key, packId: packId),
@ -648,7 +649,7 @@ class NewStickersRoute extends _i23.PageRouteInfo<NewStickersRouteArgs> {
static const String name = 'NewStickersRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
@ -664,7 +665,7 @@ class NewStickersRoute extends _i23.PageRouteInfo<NewStickersRouteArgs> {
class NewStickersRouteArgs {
const NewStickersRouteArgs({this.key, required this.packId});
final _i24.Key? key;
final _i25.Key? key;
final String packId;
@ -676,11 +677,11 @@ class NewStickersRouteArgs {
/// generated route for
/// [_i16.PostComposeScreen]
class PostComposeRoute extends _i23.PageRouteInfo<PostComposeRouteArgs> {
class PostComposeRoute extends _i24.PageRouteInfo<PostComposeRouteArgs> {
PostComposeRoute({
_i24.Key? key,
_i25.SnPost? originalPost,
List<_i23.PageRouteInfo>? children,
_i25.Key? key,
_i26.SnPost? originalPost,
List<_i24.PageRouteInfo>? children,
}) : super(
PostComposeRoute.name,
args: PostComposeRouteArgs(key: key, originalPost: originalPost),
@ -689,7 +690,7 @@ class PostComposeRoute extends _i23.PageRouteInfo<PostComposeRouteArgs> {
static const String name = 'PostComposeRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final args = data.argsAs<PostComposeRouteArgs>(
@ -706,9 +707,9 @@ class PostComposeRoute extends _i23.PageRouteInfo<PostComposeRouteArgs> {
class PostComposeRouteArgs {
const PostComposeRouteArgs({this.key, this.originalPost});
final _i24.Key? key;
final _i25.Key? key;
final _i25.SnPost? originalPost;
final _i26.SnPost? originalPost;
@override
String toString() {
@ -718,11 +719,11 @@ class PostComposeRouteArgs {
/// generated route for
/// [_i17.PostDetailScreen]
class PostDetailRoute extends _i23.PageRouteInfo<PostDetailRouteArgs> {
class PostDetailRoute extends _i24.PageRouteInfo<PostDetailRouteArgs> {
PostDetailRoute({
_i24.Key? key,
_i25.Key? key,
required String id,
List<_i23.PageRouteInfo>? children,
List<_i24.PageRouteInfo>? children,
}) : super(
PostDetailRoute.name,
args: PostDetailRouteArgs(key: key, id: id),
@ -732,7 +733,7 @@ class PostDetailRoute extends _i23.PageRouteInfo<PostDetailRouteArgs> {
static const String name = 'PostDetailRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
@ -747,7 +748,7 @@ class PostDetailRoute extends _i23.PageRouteInfo<PostDetailRouteArgs> {
class PostDetailRouteArgs {
const PostDetailRouteArgs({this.key, required this.id});
final _i24.Key? key;
final _i25.Key? key;
final String id;
@ -759,11 +760,11 @@ class PostDetailRouteArgs {
/// generated route for
/// [_i16.PostEditScreen]
class PostEditRoute extends _i23.PageRouteInfo<PostEditRouteArgs> {
class PostEditRoute extends _i24.PageRouteInfo<PostEditRouteArgs> {
PostEditRoute({
_i24.Key? key,
_i25.Key? key,
required String id,
List<_i23.PageRouteInfo>? children,
List<_i24.PageRouteInfo>? children,
}) : super(
PostEditRoute.name,
args: PostEditRouteArgs(key: key, id: id),
@ -773,7 +774,7 @@ class PostEditRoute extends _i23.PageRouteInfo<PostEditRouteArgs> {
static const String name = 'PostEditRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
@ -788,7 +789,7 @@ class PostEditRoute extends _i23.PageRouteInfo<PostEditRouteArgs> {
class PostEditRouteArgs {
const PostEditRouteArgs({this.key, required this.id});
final _i24.Key? key;
final _i25.Key? key;
final String id;
@ -801,11 +802,11 @@ class PostEditRouteArgs {
/// generated route for
/// [_i18.PublisherProfileScreen]
class PublisherProfileRoute
extends _i23.PageRouteInfo<PublisherProfileRouteArgs> {
extends _i24.PageRouteInfo<PublisherProfileRouteArgs> {
PublisherProfileRoute({
_i24.Key? key,
_i25.Key? key,
required String name,
List<_i23.PageRouteInfo>? children,
List<_i24.PageRouteInfo>? children,
}) : super(
PublisherProfileRoute.name,
args: PublisherProfileRouteArgs(key: key, name: name),
@ -815,7 +816,7 @@ class PublisherProfileRoute
static const String name = 'PublisherProfileRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
@ -831,7 +832,7 @@ class PublisherProfileRoute
class PublisherProfileRouteArgs {
const PublisherProfileRouteArgs({this.key, required this.name});
final _i24.Key? key;
final _i25.Key? key;
final String name;
@ -843,11 +844,11 @@ class PublisherProfileRouteArgs {
/// generated route for
/// [_i19.RealmDetailScreen]
class RealmDetailRoute extends _i23.PageRouteInfo<RealmDetailRouteArgs> {
class RealmDetailRoute extends _i24.PageRouteInfo<RealmDetailRouteArgs> {
RealmDetailRoute({
_i24.Key? key,
_i25.Key? key,
required String slug,
List<_i23.PageRouteInfo>? children,
List<_i24.PageRouteInfo>? children,
}) : super(
RealmDetailRoute.name,
args: RealmDetailRouteArgs(key: key, slug: slug),
@ -857,7 +858,7 @@ class RealmDetailRoute extends _i23.PageRouteInfo<RealmDetailRouteArgs> {
static const String name = 'RealmDetailRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
@ -872,7 +873,7 @@ class RealmDetailRoute extends _i23.PageRouteInfo<RealmDetailRouteArgs> {
class RealmDetailRouteArgs {
const RealmDetailRouteArgs({this.key, required this.slug});
final _i24.Key? key;
final _i25.Key? key;
final String slug;
@ -884,13 +885,13 @@ class RealmDetailRouteArgs {
/// generated route for
/// [_i9.RealmListScreen]
class RealmListRoute extends _i23.PageRouteInfo<void> {
const RealmListRoute({List<_i23.PageRouteInfo>? children})
class RealmListRoute extends _i24.PageRouteInfo<void> {
const RealmListRoute({List<_i24.PageRouteInfo>? children})
: super(RealmListRoute.name, initialChildren: children);
static const String name = 'RealmListRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i9.RealmListScreen();
@ -900,13 +901,13 @@ class RealmListRoute extends _i23.PageRouteInfo<void> {
/// generated route for
/// [_i20.SettingsScreen]
class SettingsRoute extends _i23.PageRouteInfo<void> {
const SettingsRoute({List<_i23.PageRouteInfo>? children})
class SettingsRoute extends _i24.PageRouteInfo<void> {
const SettingsRoute({List<_i24.PageRouteInfo>? children})
: super(SettingsRoute.name, initialChildren: children);
static const String name = 'SettingsRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i20.SettingsScreen();
@ -917,12 +918,12 @@ class SettingsRoute extends _i23.PageRouteInfo<void> {
/// generated route for
/// [_i11.StickerPackDetailScreen]
class StickerPackDetailRoute
extends _i23.PageRouteInfo<StickerPackDetailRouteArgs> {
extends _i24.PageRouteInfo<StickerPackDetailRouteArgs> {
StickerPackDetailRoute({
_i24.Key? key,
_i25.Key? key,
required String pubName,
required String id,
List<_i23.PageRouteInfo>? children,
List<_i24.PageRouteInfo>? children,
}) : super(
StickerPackDetailRoute.name,
args: StickerPackDetailRouteArgs(key: key, pubName: pubName, id: id),
@ -932,7 +933,7 @@ class StickerPackDetailRoute
static const String name = 'StickerPackDetailRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
@ -959,7 +960,7 @@ class StickerPackDetailRouteArgs {
required this.id,
});
final _i24.Key? key;
final _i25.Key? key;
final String pubName;
@ -973,11 +974,11 @@ class StickerPackDetailRouteArgs {
/// generated route for
/// [_i10.StickersScreen]
class StickersRoute extends _i23.PageRouteInfo<StickersRouteArgs> {
class StickersRoute extends _i24.PageRouteInfo<StickersRouteArgs> {
StickersRoute({
_i24.Key? key,
_i25.Key? key,
required String pubName,
List<_i23.PageRouteInfo>? children,
List<_i24.PageRouteInfo>? children,
}) : super(
StickersRoute.name,
args: StickersRouteArgs(key: key, pubName: pubName),
@ -987,7 +988,7 @@ class StickersRoute extends _i23.PageRouteInfo<StickersRouteArgs> {
static const String name = 'StickersRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
final pathParams = data.inheritedPathParams;
@ -1002,7 +1003,7 @@ class StickersRoute extends _i23.PageRouteInfo<StickersRouteArgs> {
class StickersRouteArgs {
const StickersRouteArgs({this.key, required this.pubName});
final _i24.Key? key;
final _i25.Key? key;
final String pubName;
@ -1014,13 +1015,13 @@ class StickersRouteArgs {
/// generated route for
/// [_i21.TabsScreen]
class TabsRoute extends _i23.PageRouteInfo<void> {
const TabsRoute({List<_i23.PageRouteInfo>? children})
class TabsRoute extends _i24.PageRouteInfo<void> {
const TabsRoute({List<_i24.PageRouteInfo>? children})
: super(TabsRoute.name, initialChildren: children);
static const String name = 'TabsRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i21.TabsScreen();
@ -1030,16 +1031,32 @@ class TabsRoute extends _i23.PageRouteInfo<void> {
/// generated route for
/// [_i22.UpdateProfileScreen]
class UpdateProfileRoute extends _i23.PageRouteInfo<void> {
const UpdateProfileRoute({List<_i23.PageRouteInfo>? children})
class UpdateProfileRoute extends _i24.PageRouteInfo<void> {
const UpdateProfileRoute({List<_i24.PageRouteInfo>? children})
: super(UpdateProfileRoute.name, initialChildren: children);
static const String name = 'UpdateProfileRoute';
static _i23.PageInfo page = _i23.PageInfo(
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i22.UpdateProfileScreen();
},
);
}
/// generated route for
/// [_i23.WalletScreen]
class WalletRoute extends _i24.PageRouteInfo<void> {
const WalletRoute({List<_i24.PageRouteInfo>? children})
: super(WalletRoute.name, initialChildren: children);
static const String name = 'WalletRoute';
static _i24.PageInfo page = _i24.PageInfo(
name,
builder: (data) {
return const _i23.WalletScreen();
},
);
}