✨ Chat room details, invitions and members management
This commit is contained in:
@ -9,32 +9,33 @@
|
||||
// coverage:ignore-file
|
||||
|
||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||
import 'package:auto_route/auto_route.dart' as _i14;
|
||||
import 'package:flutter/material.dart' as _i15;
|
||||
import 'package:island/models/post.dart' as _i16;
|
||||
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:island/screens/account.dart' as _i1;
|
||||
import 'package:island/screens/account/me.dart' as _i9;
|
||||
import 'package:island/screens/account/me/publishers.dart' as _i5;
|
||||
import 'package:island/screens/account/me/update.dart' as _i13;
|
||||
import 'package:island/screens/auth/create_account.dart' as _i4;
|
||||
import 'package:island/screens/auth/login.dart' as _i8;
|
||||
import 'package:island/screens/auth/tabs.dart' as _i12;
|
||||
import 'package:island/screens/chat/chat.dart' as _i2;
|
||||
import 'package:island/screens/chat/room.dart' as _i3;
|
||||
import 'package:island/screens/explore.dart' as _i7;
|
||||
import 'package:island/screens/posts/compose.dart' as _i10;
|
||||
import 'package:island/screens/posts/detail.dart' as _i11;
|
||||
import 'package:island/screens/realm/realms.dart' as _i6;
|
||||
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/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/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/realms.dart' as _i7;
|
||||
|
||||
/// generated route for
|
||||
/// [_i1.AccountScreen]
|
||||
class AccountRoute extends _i14.PageRouteInfo<void> {
|
||||
const AccountRoute({List<_i14.PageRouteInfo>? children})
|
||||
class AccountRoute extends _i15.PageRouteInfo<void> {
|
||||
const AccountRoute({List<_i15.PageRouteInfo>? children})
|
||||
: super(AccountRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'AccountRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i1.AccountScreen();
|
||||
@ -43,28 +44,69 @@ class AccountRoute extends _i14.PageRouteInfo<void> {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i2.ChatListScreen]
|
||||
class ChatListRoute extends _i14.PageRouteInfo<void> {
|
||||
const ChatListRoute({List<_i14.PageRouteInfo>? children})
|
||||
/// [_i2.ChatDetailScreen]
|
||||
class ChatDetailRoute extends _i15.PageRouteInfo<ChatDetailRouteArgs> {
|
||||
ChatDetailRoute({
|
||||
_i16.Key? key,
|
||||
required int id,
|
||||
List<_i15.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
ChatDetailRoute.name,
|
||||
args: ChatDetailRouteArgs(key: key, id: id),
|
||||
rawPathParams: {'id': id},
|
||||
initialChildren: children,
|
||||
);
|
||||
|
||||
static const String name = 'ChatDetailRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final pathParams = data.inheritedPathParams;
|
||||
final args = data.argsAs<ChatDetailRouteArgs>(
|
||||
orElse: () => ChatDetailRouteArgs(id: pathParams.getInt('id')),
|
||||
);
|
||||
return _i2.ChatDetailScreen(key: args.key, id: args.id);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
class ChatDetailRouteArgs {
|
||||
const ChatDetailRouteArgs({this.key, required this.id});
|
||||
|
||||
final _i16.Key? key;
|
||||
|
||||
final int id;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'ChatDetailRouteArgs{key: $key, id: $id}';
|
||||
}
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i3.ChatListScreen]
|
||||
class ChatListRoute extends _i15.PageRouteInfo<void> {
|
||||
const ChatListRoute({List<_i15.PageRouteInfo>? children})
|
||||
: super(ChatListRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ChatListRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i2.ChatListScreen();
|
||||
return const _i3.ChatListScreen();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i3.ChatRoomScreen]
|
||||
class ChatRoomRoute extends _i14.PageRouteInfo<ChatRoomRouteArgs> {
|
||||
/// [_i4.ChatRoomScreen]
|
||||
class ChatRoomRoute extends _i15.PageRouteInfo<ChatRoomRouteArgs> {
|
||||
ChatRoomRoute({
|
||||
_i15.Key? key,
|
||||
_i16.Key? key,
|
||||
required int id,
|
||||
List<_i14.PageRouteInfo>? children,
|
||||
List<_i15.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
ChatRoomRoute.name,
|
||||
args: ChatRoomRouteArgs(key: key, id: id),
|
||||
@ -74,14 +116,14 @@ class ChatRoomRoute extends _i14.PageRouteInfo<ChatRoomRouteArgs> {
|
||||
|
||||
static const String name = 'ChatRoomRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final pathParams = data.inheritedPathParams;
|
||||
final args = data.argsAs<ChatRoomRouteArgs>(
|
||||
orElse: () => ChatRoomRouteArgs(id: pathParams.getInt('id')),
|
||||
);
|
||||
return _i3.ChatRoomScreen(key: args.key, id: args.id);
|
||||
return _i4.ChatRoomScreen(key: args.key, id: args.id);
|
||||
},
|
||||
);
|
||||
}
|
||||
@ -89,7 +131,7 @@ class ChatRoomRoute extends _i14.PageRouteInfo<ChatRoomRouteArgs> {
|
||||
class ChatRoomRouteArgs {
|
||||
const ChatRoomRouteArgs({this.key, required this.id});
|
||||
|
||||
final _i15.Key? key;
|
||||
final _i16.Key? key;
|
||||
|
||||
final int id;
|
||||
|
||||
@ -100,25 +142,25 @@ class ChatRoomRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i4.CreateAccountScreen]
|
||||
class CreateAccountRoute extends _i14.PageRouteInfo<void> {
|
||||
const CreateAccountRoute({List<_i14.PageRouteInfo>? children})
|
||||
/// [_i5.CreateAccountScreen]
|
||||
class CreateAccountRoute extends _i15.PageRouteInfo<void> {
|
||||
const CreateAccountRoute({List<_i15.PageRouteInfo>? children})
|
||||
: super(CreateAccountRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'CreateAccountRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i4.CreateAccountScreen();
|
||||
return const _i5.CreateAccountScreen();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i2.EditChatScreen]
|
||||
class EditChatRoute extends _i14.PageRouteInfo<EditChatRouteArgs> {
|
||||
EditChatRoute({_i15.Key? key, int? id, List<_i14.PageRouteInfo>? children})
|
||||
/// [_i3.EditChatScreen]
|
||||
class EditChatRoute extends _i15.PageRouteInfo<EditChatRouteArgs> {
|
||||
EditChatRoute({_i16.Key? key, int? id, List<_i15.PageRouteInfo>? children})
|
||||
: super(
|
||||
EditChatRoute.name,
|
||||
args: EditChatRouteArgs(key: key, id: id),
|
||||
@ -128,14 +170,14 @@ class EditChatRoute extends _i14.PageRouteInfo<EditChatRouteArgs> {
|
||||
|
||||
static const String name = 'EditChatRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final pathParams = data.inheritedPathParams;
|
||||
final args = data.argsAs<EditChatRouteArgs>(
|
||||
orElse: () => EditChatRouteArgs(id: pathParams.optInt('id')),
|
||||
);
|
||||
return _i2.EditChatScreen(key: args.key, id: args.id);
|
||||
return _i3.EditChatScreen(key: args.key, id: args.id);
|
||||
},
|
||||
);
|
||||
}
|
||||
@ -143,7 +185,7 @@ class EditChatRoute extends _i14.PageRouteInfo<EditChatRouteArgs> {
|
||||
class EditChatRouteArgs {
|
||||
const EditChatRouteArgs({this.key, this.id});
|
||||
|
||||
final _i15.Key? key;
|
||||
final _i16.Key? key;
|
||||
|
||||
final int? id;
|
||||
|
||||
@ -154,12 +196,12 @@ class EditChatRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i5.EditPublisherScreen]
|
||||
class EditPublisherRoute extends _i14.PageRouteInfo<EditPublisherRouteArgs> {
|
||||
/// [_i6.EditPublisherScreen]
|
||||
class EditPublisherRoute extends _i15.PageRouteInfo<EditPublisherRouteArgs> {
|
||||
EditPublisherRoute({
|
||||
_i15.Key? key,
|
||||
_i16.Key? key,
|
||||
String? name,
|
||||
List<_i14.PageRouteInfo>? children,
|
||||
List<_i15.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
EditPublisherRoute.name,
|
||||
args: EditPublisherRouteArgs(key: key, name: name),
|
||||
@ -169,14 +211,14 @@ class EditPublisherRoute extends _i14.PageRouteInfo<EditPublisherRouteArgs> {
|
||||
|
||||
static const String name = 'EditPublisherRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final pathParams = data.inheritedPathParams;
|
||||
final args = data.argsAs<EditPublisherRouteArgs>(
|
||||
orElse: () => EditPublisherRouteArgs(name: pathParams.optString('id')),
|
||||
);
|
||||
return _i5.EditPublisherScreen(key: args.key, name: args.name);
|
||||
return _i6.EditPublisherScreen(key: args.key, name: args.name);
|
||||
},
|
||||
);
|
||||
}
|
||||
@ -184,7 +226,7 @@ class EditPublisherRoute extends _i14.PageRouteInfo<EditPublisherRouteArgs> {
|
||||
class EditPublisherRouteArgs {
|
||||
const EditPublisherRouteArgs({this.key, this.name});
|
||||
|
||||
final _i15.Key? key;
|
||||
final _i16.Key? key;
|
||||
|
||||
final String? name;
|
||||
|
||||
@ -195,12 +237,12 @@ class EditPublisherRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i6.EditRealmScreen]
|
||||
class EditRealmRoute extends _i14.PageRouteInfo<EditRealmRouteArgs> {
|
||||
/// [_i7.EditRealmScreen]
|
||||
class EditRealmRoute extends _i15.PageRouteInfo<EditRealmRouteArgs> {
|
||||
EditRealmRoute({
|
||||
_i15.Key? key,
|
||||
_i16.Key? key,
|
||||
String? slug,
|
||||
List<_i14.PageRouteInfo>? children,
|
||||
List<_i15.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
EditRealmRoute.name,
|
||||
args: EditRealmRouteArgs(key: key, slug: slug),
|
||||
@ -210,14 +252,14 @@ class EditRealmRoute extends _i14.PageRouteInfo<EditRealmRouteArgs> {
|
||||
|
||||
static const String name = 'EditRealmRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final pathParams = data.inheritedPathParams;
|
||||
final args = data.argsAs<EditRealmRouteArgs>(
|
||||
orElse: () => EditRealmRouteArgs(slug: pathParams.optString('slug')),
|
||||
);
|
||||
return _i6.EditRealmScreen(key: args.key, slug: args.slug);
|
||||
return _i7.EditRealmScreen(key: args.key, slug: args.slug);
|
||||
},
|
||||
);
|
||||
}
|
||||
@ -225,7 +267,7 @@ class EditRealmRoute extends _i14.PageRouteInfo<EditRealmRouteArgs> {
|
||||
class EditRealmRouteArgs {
|
||||
const EditRealmRouteArgs({this.key, this.slug});
|
||||
|
||||
final _i15.Key? key;
|
||||
final _i16.Key? key;
|
||||
|
||||
final String? slug;
|
||||
|
||||
@ -236,124 +278,124 @@ class EditRealmRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i7.ExploreScreen]
|
||||
class ExploreRoute extends _i14.PageRouteInfo<void> {
|
||||
const ExploreRoute({List<_i14.PageRouteInfo>? children})
|
||||
/// [_i8.ExploreScreen]
|
||||
class ExploreRoute extends _i15.PageRouteInfo<void> {
|
||||
const ExploreRoute({List<_i15.PageRouteInfo>? children})
|
||||
: super(ExploreRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ExploreRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i7.ExploreScreen();
|
||||
return const _i8.ExploreScreen();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i8.LoginScreen]
|
||||
class LoginRoute extends _i14.PageRouteInfo<void> {
|
||||
const LoginRoute({List<_i14.PageRouteInfo>? children})
|
||||
/// [_i9.LoginScreen]
|
||||
class LoginRoute extends _i15.PageRouteInfo<void> {
|
||||
const LoginRoute({List<_i15.PageRouteInfo>? children})
|
||||
: super(LoginRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'LoginRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i8.LoginScreen();
|
||||
return const _i9.LoginScreen();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i5.ManagedPublisherScreen]
|
||||
class ManagedPublisherRoute extends _i14.PageRouteInfo<void> {
|
||||
const ManagedPublisherRoute({List<_i14.PageRouteInfo>? children})
|
||||
/// [_i6.ManagedPublisherScreen]
|
||||
class ManagedPublisherRoute extends _i15.PageRouteInfo<void> {
|
||||
const ManagedPublisherRoute({List<_i15.PageRouteInfo>? children})
|
||||
: super(ManagedPublisherRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ManagedPublisherRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i5.ManagedPublisherScreen();
|
||||
return const _i6.ManagedPublisherScreen();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i9.MyselfProfileScreen]
|
||||
class MyselfProfileRoute extends _i14.PageRouteInfo<void> {
|
||||
const MyselfProfileRoute({List<_i14.PageRouteInfo>? children})
|
||||
/// [_i10.MyselfProfileScreen]
|
||||
class MyselfProfileRoute extends _i15.PageRouteInfo<void> {
|
||||
const MyselfProfileRoute({List<_i15.PageRouteInfo>? children})
|
||||
: super(MyselfProfileRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'MyselfProfileRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i9.MyselfProfileScreen();
|
||||
return const _i10.MyselfProfileScreen();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i2.NewChatScreen]
|
||||
class NewChatRoute extends _i14.PageRouteInfo<void> {
|
||||
const NewChatRoute({List<_i14.PageRouteInfo>? children})
|
||||
/// [_i3.NewChatScreen]
|
||||
class NewChatRoute extends _i15.PageRouteInfo<void> {
|
||||
const NewChatRoute({List<_i15.PageRouteInfo>? children})
|
||||
: super(NewChatRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'NewChatRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i2.NewChatScreen();
|
||||
return const _i3.NewChatScreen();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i5.NewPublisherScreen]
|
||||
class NewPublisherRoute extends _i14.PageRouteInfo<void> {
|
||||
const NewPublisherRoute({List<_i14.PageRouteInfo>? children})
|
||||
/// [_i6.NewPublisherScreen]
|
||||
class NewPublisherRoute extends _i15.PageRouteInfo<void> {
|
||||
const NewPublisherRoute({List<_i15.PageRouteInfo>? children})
|
||||
: super(NewPublisherRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'NewPublisherRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i5.NewPublisherScreen();
|
||||
return const _i6.NewPublisherScreen();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i6.NewRealmScreen]
|
||||
class NewRealmRoute extends _i14.PageRouteInfo<void> {
|
||||
const NewRealmRoute({List<_i14.PageRouteInfo>? children})
|
||||
/// [_i7.NewRealmScreen]
|
||||
class NewRealmRoute extends _i15.PageRouteInfo<void> {
|
||||
const NewRealmRoute({List<_i15.PageRouteInfo>? children})
|
||||
: super(NewRealmRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'NewRealmRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i6.NewRealmScreen();
|
||||
return const _i7.NewRealmScreen();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i10.PostComposeScreen]
|
||||
class PostComposeRoute extends _i14.PageRouteInfo<PostComposeRouteArgs> {
|
||||
/// [_i11.PostComposeScreen]
|
||||
class PostComposeRoute extends _i15.PageRouteInfo<PostComposeRouteArgs> {
|
||||
PostComposeRoute({
|
||||
_i15.Key? key,
|
||||
_i16.SnPost? originalPost,
|
||||
List<_i14.PageRouteInfo>? children,
|
||||
_i16.Key? key,
|
||||
_i17.SnPost? originalPost,
|
||||
List<_i15.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
PostComposeRoute.name,
|
||||
args: PostComposeRouteArgs(key: key, originalPost: originalPost),
|
||||
@ -362,13 +404,13 @@ class PostComposeRoute extends _i14.PageRouteInfo<PostComposeRouteArgs> {
|
||||
|
||||
static const String name = 'PostComposeRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final args = data.argsAs<PostComposeRouteArgs>(
|
||||
orElse: () => const PostComposeRouteArgs(),
|
||||
);
|
||||
return _i10.PostComposeScreen(
|
||||
return _i11.PostComposeScreen(
|
||||
key: args.key,
|
||||
originalPost: args.originalPost,
|
||||
);
|
||||
@ -379,9 +421,9 @@ class PostComposeRoute extends _i14.PageRouteInfo<PostComposeRouteArgs> {
|
||||
class PostComposeRouteArgs {
|
||||
const PostComposeRouteArgs({this.key, this.originalPost});
|
||||
|
||||
final _i15.Key? key;
|
||||
final _i16.Key? key;
|
||||
|
||||
final _i16.SnPost? originalPost;
|
||||
final _i17.SnPost? originalPost;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
@ -390,12 +432,12 @@ class PostComposeRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i11.PostDetailScreen]
|
||||
class PostDetailRoute extends _i14.PageRouteInfo<PostDetailRouteArgs> {
|
||||
/// [_i12.PostDetailScreen]
|
||||
class PostDetailRoute extends _i15.PageRouteInfo<PostDetailRouteArgs> {
|
||||
PostDetailRoute({
|
||||
_i15.Key? key,
|
||||
_i16.Key? key,
|
||||
required int id,
|
||||
List<_i14.PageRouteInfo>? children,
|
||||
List<_i15.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
PostDetailRoute.name,
|
||||
args: PostDetailRouteArgs(key: key, id: id),
|
||||
@ -405,14 +447,14 @@ class PostDetailRoute extends _i14.PageRouteInfo<PostDetailRouteArgs> {
|
||||
|
||||
static const String name = 'PostDetailRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final pathParams = data.inheritedPathParams;
|
||||
final args = data.argsAs<PostDetailRouteArgs>(
|
||||
orElse: () => PostDetailRouteArgs(id: pathParams.getInt('id')),
|
||||
);
|
||||
return _i11.PostDetailScreen(key: args.key, id: args.id);
|
||||
return _i12.PostDetailScreen(key: args.key, id: args.id);
|
||||
},
|
||||
);
|
||||
}
|
||||
@ -420,7 +462,7 @@ class PostDetailRoute extends _i14.PageRouteInfo<PostDetailRouteArgs> {
|
||||
class PostDetailRouteArgs {
|
||||
const PostDetailRouteArgs({this.key, required this.id});
|
||||
|
||||
final _i15.Key? key;
|
||||
final _i16.Key? key;
|
||||
|
||||
final int id;
|
||||
|
||||
@ -431,12 +473,12 @@ class PostDetailRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i10.PostEditScreen]
|
||||
class PostEditRoute extends _i14.PageRouteInfo<PostEditRouteArgs> {
|
||||
/// [_i11.PostEditScreen]
|
||||
class PostEditRoute extends _i15.PageRouteInfo<PostEditRouteArgs> {
|
||||
PostEditRoute({
|
||||
_i15.Key? key,
|
||||
_i16.Key? key,
|
||||
required int id,
|
||||
List<_i14.PageRouteInfo>? children,
|
||||
List<_i15.PageRouteInfo>? children,
|
||||
}) : super(
|
||||
PostEditRoute.name,
|
||||
args: PostEditRouteArgs(key: key, id: id),
|
||||
@ -446,14 +488,14 @@ class PostEditRoute extends _i14.PageRouteInfo<PostEditRouteArgs> {
|
||||
|
||||
static const String name = 'PostEditRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
final pathParams = data.inheritedPathParams;
|
||||
final args = data.argsAs<PostEditRouteArgs>(
|
||||
orElse: () => PostEditRouteArgs(id: pathParams.getInt('id')),
|
||||
);
|
||||
return _i10.PostEditScreen(key: args.key, id: args.id);
|
||||
return _i11.PostEditScreen(key: args.key, id: args.id);
|
||||
},
|
||||
);
|
||||
}
|
||||
@ -461,7 +503,7 @@ class PostEditRoute extends _i14.PageRouteInfo<PostEditRouteArgs> {
|
||||
class PostEditRouteArgs {
|
||||
const PostEditRouteArgs({this.key, required this.id});
|
||||
|
||||
final _i15.Key? key;
|
||||
final _i16.Key? key;
|
||||
|
||||
final int id;
|
||||
|
||||
@ -472,49 +514,49 @@ class PostEditRouteArgs {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i6.RealmListScreen]
|
||||
class RealmListRoute extends _i14.PageRouteInfo<void> {
|
||||
const RealmListRoute({List<_i14.PageRouteInfo>? children})
|
||||
/// [_i7.RealmListScreen]
|
||||
class RealmListRoute extends _i15.PageRouteInfo<void> {
|
||||
const RealmListRoute({List<_i15.PageRouteInfo>? children})
|
||||
: super(RealmListRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'RealmListRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i6.RealmListScreen();
|
||||
return const _i7.RealmListScreen();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i12.TabsScreen]
|
||||
class TabsRoute extends _i14.PageRouteInfo<void> {
|
||||
const TabsRoute({List<_i14.PageRouteInfo>? children})
|
||||
/// [_i13.TabsScreen]
|
||||
class TabsRoute extends _i15.PageRouteInfo<void> {
|
||||
const TabsRoute({List<_i15.PageRouteInfo>? children})
|
||||
: super(TabsRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'TabsRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i12.TabsScreen();
|
||||
return const _i13.TabsScreen();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i13.UpdateProfileScreen]
|
||||
class UpdateProfileRoute extends _i14.PageRouteInfo<void> {
|
||||
const UpdateProfileRoute({List<_i14.PageRouteInfo>? children})
|
||||
/// [_i14.UpdateProfileScreen]
|
||||
class UpdateProfileRoute extends _i15.PageRouteInfo<void> {
|
||||
const UpdateProfileRoute({List<_i15.PageRouteInfo>? children})
|
||||
: super(UpdateProfileRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'UpdateProfileRoute';
|
||||
|
||||
static _i14.PageInfo page = _i14.PageInfo(
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i13.UpdateProfileScreen();
|
||||
return const _i14.UpdateProfileScreen();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user