✨ Realm detail page
This commit is contained in:
@ -9,33 +9,34 @@
|
||||
// coverage:ignore-file
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'package:auto_route/auto_route.dart' as _i15;
|
||||
import 'package:flutter/material.dart' as _i16;
|
||||
import 'package:island/models/post.dart' as _i17;
|
||||
import 'package:auto_route/auto_route.dart' as _i16;
|
||||
import 'package:flutter/material.dart' as _i17;
|
||||
import 'package:island/models/post.dart' as _i18;
|
||||
import 'package:island/screens/account.dart' as _i1;
|
||||
import 'package:island/screens/account/me.dart' as _i10;
|
||||
import 'package:island/screens/account/me/publishers.dart' as _i6;
|
||||
import 'package:island/screens/account/me/update.dart' as _i14;
|
||||
import 'package:island/screens/account/me/update.dart' as _i15;
|
||||
import 'package:island/screens/auth/create_account.dart' as _i5;
|
||||
import 'package:island/screens/auth/login.dart' as _i9;
|
||||
import 'package:island/screens/auth/tabs.dart' as _i13;
|
||||
import 'package:island/screens/auth/tabs.dart' as _i14;
|
||||
import 'package:island/screens/chat/chat.dart' as _i3;
|
||||
import 'package:island/screens/chat/room.dart' as _i4;
|
||||
import 'package:island/screens/chat/room_detail.dart' as _i2;
|
||||
import 'package:island/screens/explore.dart' as _i8;
|
||||
import 'package:island/screens/posts/compose.dart' as _i11;
|
||||
import 'package:island/screens/posts/detail.dart' as _i12;
|
||||
import 'package:island/screens/realm/detail.dart' as _i13;
|
||||
import 'package:island/screens/realm/realms.dart' as _i7;
|
||||
|
||||
/// generated route for
|
||||
/// [_i1.AccountScreen]
|
||||
class AccountRoute extends _i15.PageRouteInfo<void> {
|
||||
const AccountRoute({List<_i15.PageRouteInfo>? children})
|
||||
class AccountRoute extends _i16.PageRouteInfo<void> {
|
||||
const AccountRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(AccountRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'AccountRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i1.AccountScreen();
|
||||
@ -45,11 +46,11 @@ class AccountRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i2.ChatDetailScreen]
|
||||
class ChatDetailRoute extends _i15.PageRouteInfo<ChatDetailRouteArgs> {
|
||||
class ChatDetailRoute extends _i16.PageRouteInfo<ChatDetailRouteArgs> {
|
||||
ChatDetailRoute({
|
||||
_i16.Key? key,
|
||||
_i17.Key? key,
|
||||
required int id,
|
||||
List<_i15.PageRouteInfo>? children,
|
||||
List<_i16.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
ChatDetailRoute.name,
|
||||
args: ChatDetailRouteArgs(key: key, id: id),
|
||||
@ -59,7 +60,7 @@ class ChatDetailRoute extends _i15.PageRouteInfo<ChatDetailRouteArgs> {
|
||||
|
||||
static const String name = 'ChatDetailRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final pathParams = data.inheritedPathParams;
|
||||
@ -74,7 +75,7 @@ class ChatDetailRoute extends _i15.PageRouteInfo<ChatDetailRouteArgs> {
|
||||
class ChatDetailRouteArgs {
|
||||
const ChatDetailRouteArgs({this.key, required this.id});
|
||||
|
||||
final _i16.Key? key;
|
||||
final _i17.Key? key;
|
||||
|
||||
final int id;
|
||||
|
||||
@ -86,13 +87,13 @@ class ChatDetailRouteArgs {
|
||||
|
||||
/// generated route for
|
||||
/// [_i3.ChatListScreen]
|
||||
class ChatListRoute extends _i15.PageRouteInfo<void> {
|
||||
const ChatListRoute({List<_i15.PageRouteInfo>? children})
|
||||
class ChatListRoute extends _i16.PageRouteInfo<void> {
|
||||
const ChatListRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(ChatListRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ChatListRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i3.ChatListScreen();
|
||||
@ -102,11 +103,11 @@ class ChatListRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i4.ChatRoomScreen]
|
||||
class ChatRoomRoute extends _i15.PageRouteInfo<ChatRoomRouteArgs> {
|
||||
class ChatRoomRoute extends _i16.PageRouteInfo<ChatRoomRouteArgs> {
|
||||
ChatRoomRoute({
|
||||
_i16.Key? key,
|
||||
_i17.Key? key,
|
||||
required int id,
|
||||
List<_i15.PageRouteInfo>? children,
|
||||
List<_i16.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
ChatRoomRoute.name,
|
||||
args: ChatRoomRouteArgs(key: key, id: id),
|
||||
@ -116,7 +117,7 @@ class ChatRoomRoute extends _i15.PageRouteInfo<ChatRoomRouteArgs> {
|
||||
|
||||
static const String name = 'ChatRoomRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final pathParams = data.inheritedPathParams;
|
||||
@ -131,7 +132,7 @@ class ChatRoomRoute extends _i15.PageRouteInfo<ChatRoomRouteArgs> {
|
||||
class ChatRoomRouteArgs {
|
||||
const ChatRoomRouteArgs({this.key, required this.id});
|
||||
|
||||
final _i16.Key? key;
|
||||
final _i17.Key? key;
|
||||
|
||||
final int id;
|
||||
|
||||
@ -143,13 +144,13 @@ class ChatRoomRouteArgs {
|
||||
|
||||
/// generated route for
|
||||
/// [_i5.CreateAccountScreen]
|
||||
class CreateAccountRoute extends _i15.PageRouteInfo<void> {
|
||||
const CreateAccountRoute({List<_i15.PageRouteInfo>? children})
|
||||
class CreateAccountRoute extends _i16.PageRouteInfo<void> {
|
||||
const CreateAccountRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(CreateAccountRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'CreateAccountRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i5.CreateAccountScreen();
|
||||
@ -159,8 +160,8 @@ class CreateAccountRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i3.EditChatScreen]
|
||||
class EditChatRoute extends _i15.PageRouteInfo<EditChatRouteArgs> {
|
||||
EditChatRoute({_i16.Key? key, int? id, List<_i15.PageRouteInfo>? children})
|
||||
class EditChatRoute extends _i16.PageRouteInfo<EditChatRouteArgs> {
|
||||
EditChatRoute({_i17.Key? key, int? id, List<_i16.PageRouteInfo>? children})
|
||||
: super(
|
||||
EditChatRoute.name,
|
||||
args: EditChatRouteArgs(key: key, id: id),
|
||||
@ -170,7 +171,7 @@ class EditChatRoute extends _i15.PageRouteInfo<EditChatRouteArgs> {
|
||||
|
||||
static const String name = 'EditChatRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final pathParams = data.inheritedPathParams;
|
||||
@ -185,7 +186,7 @@ class EditChatRoute extends _i15.PageRouteInfo<EditChatRouteArgs> {
|
||||
class EditChatRouteArgs {
|
||||
const EditChatRouteArgs({this.key, this.id});
|
||||
|
||||
final _i16.Key? key;
|
||||
final _i17.Key? key;
|
||||
|
||||
final int? id;
|
||||
|
||||
@ -197,11 +198,11 @@ class EditChatRouteArgs {
|
||||
|
||||
/// generated route for
|
||||
/// [_i6.EditPublisherScreen]
|
||||
class EditPublisherRoute extends _i15.PageRouteInfo<EditPublisherRouteArgs> {
|
||||
class EditPublisherRoute extends _i16.PageRouteInfo<EditPublisherRouteArgs> {
|
||||
EditPublisherRoute({
|
||||
_i16.Key? key,
|
||||
_i17.Key? key,
|
||||
String? name,
|
||||
List<_i15.PageRouteInfo>? children,
|
||||
List<_i16.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
EditPublisherRoute.name,
|
||||
args: EditPublisherRouteArgs(key: key, name: name),
|
||||
@ -211,7 +212,7 @@ class EditPublisherRoute extends _i15.PageRouteInfo<EditPublisherRouteArgs> {
|
||||
|
||||
static const String name = 'EditPublisherRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final pathParams = data.inheritedPathParams;
|
||||
@ -226,7 +227,7 @@ class EditPublisherRoute extends _i15.PageRouteInfo<EditPublisherRouteArgs> {
|
||||
class EditPublisherRouteArgs {
|
||||
const EditPublisherRouteArgs({this.key, this.name});
|
||||
|
||||
final _i16.Key? key;
|
||||
final _i17.Key? key;
|
||||
|
||||
final String? name;
|
||||
|
||||
@ -238,11 +239,11 @@ class EditPublisherRouteArgs {
|
||||
|
||||
/// generated route for
|
||||
/// [_i7.EditRealmScreen]
|
||||
class EditRealmRoute extends _i15.PageRouteInfo<EditRealmRouteArgs> {
|
||||
class EditRealmRoute extends _i16.PageRouteInfo<EditRealmRouteArgs> {
|
||||
EditRealmRoute({
|
||||
_i16.Key? key,
|
||||
_i17.Key? key,
|
||||
String? slug,
|
||||
List<_i15.PageRouteInfo>? children,
|
||||
List<_i16.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
EditRealmRoute.name,
|
||||
args: EditRealmRouteArgs(key: key, slug: slug),
|
||||
@ -252,7 +253,7 @@ class EditRealmRoute extends _i15.PageRouteInfo<EditRealmRouteArgs> {
|
||||
|
||||
static const String name = 'EditRealmRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final pathParams = data.inheritedPathParams;
|
||||
@ -267,7 +268,7 @@ class EditRealmRoute extends _i15.PageRouteInfo<EditRealmRouteArgs> {
|
||||
class EditRealmRouteArgs {
|
||||
const EditRealmRouteArgs({this.key, this.slug});
|
||||
|
||||
final _i16.Key? key;
|
||||
final _i17.Key? key;
|
||||
|
||||
final String? slug;
|
||||
|
||||
@ -279,13 +280,13 @@ class EditRealmRouteArgs {
|
||||
|
||||
/// generated route for
|
||||
/// [_i8.ExploreScreen]
|
||||
class ExploreRoute extends _i15.PageRouteInfo<void> {
|
||||
const ExploreRoute({List<_i15.PageRouteInfo>? children})
|
||||
class ExploreRoute extends _i16.PageRouteInfo<void> {
|
||||
const ExploreRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(ExploreRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ExploreRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i8.ExploreScreen();
|
||||
@ -295,13 +296,13 @@ class ExploreRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i9.LoginScreen]
|
||||
class LoginRoute extends _i15.PageRouteInfo<void> {
|
||||
const LoginRoute({List<_i15.PageRouteInfo>? children})
|
||||
class LoginRoute extends _i16.PageRouteInfo<void> {
|
||||
const LoginRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(LoginRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'LoginRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i9.LoginScreen();
|
||||
@ -311,13 +312,13 @@ class LoginRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i6.ManagedPublisherScreen]
|
||||
class ManagedPublisherRoute extends _i15.PageRouteInfo<void> {
|
||||
const ManagedPublisherRoute({List<_i15.PageRouteInfo>? children})
|
||||
class ManagedPublisherRoute extends _i16.PageRouteInfo<void> {
|
||||
const ManagedPublisherRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(ManagedPublisherRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ManagedPublisherRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i6.ManagedPublisherScreen();
|
||||
@ -327,13 +328,13 @@ class ManagedPublisherRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i10.MyselfProfileScreen]
|
||||
class MyselfProfileRoute extends _i15.PageRouteInfo<void> {
|
||||
const MyselfProfileRoute({List<_i15.PageRouteInfo>? children})
|
||||
class MyselfProfileRoute extends _i16.PageRouteInfo<void> {
|
||||
const MyselfProfileRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(MyselfProfileRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'MyselfProfileRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i10.MyselfProfileScreen();
|
||||
@ -343,13 +344,13 @@ class MyselfProfileRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i3.NewChatScreen]
|
||||
class NewChatRoute extends _i15.PageRouteInfo<void> {
|
||||
const NewChatRoute({List<_i15.PageRouteInfo>? children})
|
||||
class NewChatRoute extends _i16.PageRouteInfo<void> {
|
||||
const NewChatRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(NewChatRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'NewChatRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i3.NewChatScreen();
|
||||
@ -359,13 +360,13 @@ class NewChatRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i6.NewPublisherScreen]
|
||||
class NewPublisherRoute extends _i15.PageRouteInfo<void> {
|
||||
const NewPublisherRoute({List<_i15.PageRouteInfo>? children})
|
||||
class NewPublisherRoute extends _i16.PageRouteInfo<void> {
|
||||
const NewPublisherRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(NewPublisherRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'NewPublisherRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i6.NewPublisherScreen();
|
||||
@ -375,13 +376,13 @@ class NewPublisherRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i7.NewRealmScreen]
|
||||
class NewRealmRoute extends _i15.PageRouteInfo<void> {
|
||||
const NewRealmRoute({List<_i15.PageRouteInfo>? children})
|
||||
class NewRealmRoute extends _i16.PageRouteInfo<void> {
|
||||
const NewRealmRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(NewRealmRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'NewRealmRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i7.NewRealmScreen();
|
||||
@ -391,11 +392,11 @@ class NewRealmRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i11.PostComposeScreen]
|
||||
class PostComposeRoute extends _i15.PageRouteInfo<PostComposeRouteArgs> {
|
||||
class PostComposeRoute extends _i16.PageRouteInfo<PostComposeRouteArgs> {
|
||||
PostComposeRoute({
|
||||
_i16.Key? key,
|
||||
_i17.SnPost? originalPost,
|
||||
List<_i15.PageRouteInfo>? children,
|
||||
_i17.Key? key,
|
||||
_i18.SnPost? originalPost,
|
||||
List<_i16.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
PostComposeRoute.name,
|
||||
args: PostComposeRouteArgs(key: key, originalPost: originalPost),
|
||||
@ -404,7 +405,7 @@ class PostComposeRoute extends _i15.PageRouteInfo<PostComposeRouteArgs> {
|
||||
|
||||
static const String name = 'PostComposeRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<PostComposeRouteArgs>(
|
||||
@ -421,9 +422,9 @@ class PostComposeRoute extends _i15.PageRouteInfo<PostComposeRouteArgs> {
|
||||
class PostComposeRouteArgs {
|
||||
const PostComposeRouteArgs({this.key, this.originalPost});
|
||||
|
||||
final _i16.Key? key;
|
||||
final _i17.Key? key;
|
||||
|
||||
final _i17.SnPost? originalPost;
|
||||
final _i18.SnPost? originalPost;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
@ -433,11 +434,11 @@ class PostComposeRouteArgs {
|
||||
|
||||
/// generated route for
|
||||
/// [_i12.PostDetailScreen]
|
||||
class PostDetailRoute extends _i15.PageRouteInfo<PostDetailRouteArgs> {
|
||||
class PostDetailRoute extends _i16.PageRouteInfo<PostDetailRouteArgs> {
|
||||
PostDetailRoute({
|
||||
_i16.Key? key,
|
||||
_i17.Key? key,
|
||||
required int id,
|
||||
List<_i15.PageRouteInfo>? children,
|
||||
List<_i16.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
PostDetailRoute.name,
|
||||
args: PostDetailRouteArgs(key: key, id: id),
|
||||
@ -447,7 +448,7 @@ class PostDetailRoute extends _i15.PageRouteInfo<PostDetailRouteArgs> {
|
||||
|
||||
static const String name = 'PostDetailRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final pathParams = data.inheritedPathParams;
|
||||
@ -462,7 +463,7 @@ class PostDetailRoute extends _i15.PageRouteInfo<PostDetailRouteArgs> {
|
||||
class PostDetailRouteArgs {
|
||||
const PostDetailRouteArgs({this.key, required this.id});
|
||||
|
||||
final _i16.Key? key;
|
||||
final _i17.Key? key;
|
||||
|
||||
final int id;
|
||||
|
||||
@ -474,11 +475,11 @@ class PostDetailRouteArgs {
|
||||
|
||||
/// generated route for
|
||||
/// [_i11.PostEditScreen]
|
||||
class PostEditRoute extends _i15.PageRouteInfo<PostEditRouteArgs> {
|
||||
class PostEditRoute extends _i16.PageRouteInfo<PostEditRouteArgs> {
|
||||
PostEditRoute({
|
||||
_i16.Key? key,
|
||||
_i17.Key? key,
|
||||
required int id,
|
||||
List<_i15.PageRouteInfo>? children,
|
||||
List<_i16.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
PostEditRoute.name,
|
||||
args: PostEditRouteArgs(key: key, id: id),
|
||||
@ -488,7 +489,7 @@ class PostEditRoute extends _i15.PageRouteInfo<PostEditRouteArgs> {
|
||||
|
||||
static const String name = 'PostEditRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final pathParams = data.inheritedPathParams;
|
||||
@ -503,7 +504,7 @@ class PostEditRoute extends _i15.PageRouteInfo<PostEditRouteArgs> {
|
||||
class PostEditRouteArgs {
|
||||
const PostEditRouteArgs({this.key, required this.id});
|
||||
|
||||
final _i16.Key? key;
|
||||
final _i17.Key? key;
|
||||
|
||||
final int id;
|
||||
|
||||
@ -513,15 +514,56 @@ class PostEditRouteArgs {
|
||||
}
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i13.RealmDetailScreen]
|
||||
class RealmDetailRoute extends _i16.PageRouteInfo<RealmDetailRouteArgs> {
|
||||
RealmDetailRoute({
|
||||
_i17.Key? key,
|
||||
required String slug,
|
||||
List<_i16.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
RealmDetailRoute.name,
|
||||
args: RealmDetailRouteArgs(key: key, slug: slug),
|
||||
rawPathParams: {'slug': slug},
|
||||
initialChildren: children,
|
||||
);
|
||||
|
||||
static const String name = 'RealmDetailRoute';
|
||||
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final pathParams = data.inheritedPathParams;
|
||||
final args = data.argsAs<RealmDetailRouteArgs>(
|
||||
orElse: () => RealmDetailRouteArgs(slug: pathParams.getString('slug')),
|
||||
);
|
||||
return _i13.RealmDetailScreen(key: args.key, slug: args.slug);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
class RealmDetailRouteArgs {
|
||||
const RealmDetailRouteArgs({this.key, required this.slug});
|
||||
|
||||
final _i17.Key? key;
|
||||
|
||||
final String slug;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'RealmDetailRouteArgs{key: $key, slug: $slug}';
|
||||
}
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i7.RealmListScreen]
|
||||
class RealmListRoute extends _i15.PageRouteInfo<void> {
|
||||
const RealmListRoute({List<_i15.PageRouteInfo>? children})
|
||||
class RealmListRoute extends _i16.PageRouteInfo<void> {
|
||||
const RealmListRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(RealmListRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'RealmListRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i7.RealmListScreen();
|
||||
@ -530,33 +572,33 @@ class RealmListRoute extends _i15.PageRouteInfo<void> {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i13.TabsScreen]
|
||||
class TabsRoute extends _i15.PageRouteInfo<void> {
|
||||
const TabsRoute({List<_i15.PageRouteInfo>? children})
|
||||
/// [_i14.TabsScreen]
|
||||
class TabsRoute extends _i16.PageRouteInfo<void> {
|
||||
const TabsRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(TabsRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'TabsRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i13.TabsScreen();
|
||||
return const _i14.TabsScreen();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i14.UpdateProfileScreen]
|
||||
class UpdateProfileRoute extends _i15.PageRouteInfo<void> {
|
||||
const UpdateProfileRoute({List<_i15.PageRouteInfo>? children})
|
||||
/// [_i15.UpdateProfileScreen]
|
||||
class UpdateProfileRoute extends _i16.PageRouteInfo<void> {
|
||||
const UpdateProfileRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(UpdateProfileRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'UpdateProfileRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i14.UpdateProfileScreen();
|
||||
return const _i15.UpdateProfileScreen();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user