Profile editing & file upload

This commit is contained in:
2025-04-25 23:04:26 +08:00
parent 7b8ee81f03
commit aed2160760
20 changed files with 611 additions and 39 deletions

View File

@ -9,22 +9,24 @@
// coverage:ignore-file
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:auto_route/auto_route.dart' as _i6;
import 'package:auto_route/auto_route.dart' as _i8;
import 'package:island/screens/account.dart' as _i1;
import 'package:island/screens/auth/account/me.dart' as _i5;
import 'package:island/screens/auth/account/me/update.dart' as _i7;
import 'package:island/screens/auth/create_account.dart' as _i2;
import 'package:island/screens/auth/login.dart' as _i4;
import 'package:island/screens/auth/tabs.dart' as _i5;
import 'package:island/screens/auth/tabs.dart' as _i6;
import 'package:island/screens/explore.dart' as _i3;
/// generated route for
/// [_i1.AccountScreen]
class AccountRoute extends _i6.PageRouteInfo<void> {
const AccountRoute({List<_i6.PageRouteInfo>? children})
class AccountRoute extends _i8.PageRouteInfo<void> {
const AccountRoute({List<_i8.PageRouteInfo>? children})
: super(AccountRoute.name, initialChildren: children);
static const String name = 'AccountRoute';
static _i6.PageInfo page = _i6.PageInfo(
static _i8.PageInfo page = _i8.PageInfo(
name,
builder: (data) {
return const _i1.AccountScreen();
@ -34,13 +36,13 @@ class AccountRoute extends _i6.PageRouteInfo<void> {
/// generated route for
/// [_i2.CreateAccountScreen]
class CreateAccountRoute extends _i6.PageRouteInfo<void> {
const CreateAccountRoute({List<_i6.PageRouteInfo>? children})
class CreateAccountRoute extends _i8.PageRouteInfo<void> {
const CreateAccountRoute({List<_i8.PageRouteInfo>? children})
: super(CreateAccountRoute.name, initialChildren: children);
static const String name = 'CreateAccountRoute';
static _i6.PageInfo page = _i6.PageInfo(
static _i8.PageInfo page = _i8.PageInfo(
name,
builder: (data) {
return const _i2.CreateAccountScreen();
@ -50,13 +52,13 @@ class CreateAccountRoute extends _i6.PageRouteInfo<void> {
/// generated route for
/// [_i3.ExploreScreen]
class ExploreRoute extends _i6.PageRouteInfo<void> {
const ExploreRoute({List<_i6.PageRouteInfo>? children})
class ExploreRoute extends _i8.PageRouteInfo<void> {
const ExploreRoute({List<_i8.PageRouteInfo>? children})
: super(ExploreRoute.name, initialChildren: children);
static const String name = 'ExploreRoute';
static _i6.PageInfo page = _i6.PageInfo(
static _i8.PageInfo page = _i8.PageInfo(
name,
builder: (data) {
return const _i3.ExploreScreen();
@ -66,13 +68,13 @@ class ExploreRoute extends _i6.PageRouteInfo<void> {
/// generated route for
/// [_i4.LoginScreen]
class LoginRoute extends _i6.PageRouteInfo<void> {
const LoginRoute({List<_i6.PageRouteInfo>? children})
class LoginRoute extends _i8.PageRouteInfo<void> {
const LoginRoute({List<_i8.PageRouteInfo>? children})
: super(LoginRoute.name, initialChildren: children);
static const String name = 'LoginRoute';
static _i6.PageInfo page = _i6.PageInfo(
static _i8.PageInfo page = _i8.PageInfo(
name,
builder: (data) {
return const _i4.LoginScreen();
@ -81,17 +83,49 @@ class LoginRoute extends _i6.PageRouteInfo<void> {
}
/// generated route for
/// [_i5.TabsScreen]
class TabsRoute extends _i6.PageRouteInfo<void> {
const TabsRoute({List<_i6.PageRouteInfo>? children})
/// [_i5.MyselfProfileScreen]
class MyselfProfileRoute extends _i8.PageRouteInfo<void> {
const MyselfProfileRoute({List<_i8.PageRouteInfo>? children})
: super(MyselfProfileRoute.name, initialChildren: children);
static const String name = 'MyselfProfileRoute';
static _i8.PageInfo page = _i8.PageInfo(
name,
builder: (data) {
return const _i5.MyselfProfileScreen();
},
);
}
/// generated route for
/// [_i6.TabsScreen]
class TabsRoute extends _i8.PageRouteInfo<void> {
const TabsRoute({List<_i8.PageRouteInfo>? children})
: super(TabsRoute.name, initialChildren: children);
static const String name = 'TabsRoute';
static _i6.PageInfo page = _i6.PageInfo(
static _i8.PageInfo page = _i8.PageInfo(
name,
builder: (data) {
return const _i5.TabsScreen();
return const _i6.TabsScreen();
},
);
}
/// generated route for
/// [_i7.UpdateProfileScreen]
class UpdateProfileRoute extends _i8.PageRouteInfo<void> {
const UpdateProfileRoute({List<_i8.PageRouteInfo>? children})
: super(UpdateProfileRoute.name, initialChildren: children);
static const String name = 'UpdateProfileRoute';
static _i8.PageInfo page = _i8.PageInfo(
name,
builder: (data) {
return const _i7.UpdateProfileScreen();
},
);
}