feat: main page

This commit is contained in:
efrilm
2025-08-12 17:36:41 +07:00
parent f8477d8a8c
commit ae1293d28d
10 changed files with 255 additions and 13 deletions
+103 -13
View File
@@ -10,39 +10,129 @@
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:apskel_owner_flutter/presentation/pages/auth/login/login_page.dart'
as _i1;
import 'package:apskel_owner_flutter/presentation/pages/splash/splash_page.dart'
as _i2;
import 'package:auto_route/auto_route.dart' as _i3;
import 'package:apskel_owner_flutter/presentation/pages/home/home_page.dart'
as _i1;
import 'package:apskel_owner_flutter/presentation/pages/main/main_page.dart'
as _i3;
import 'package:apskel_owner_flutter/presentation/pages/profile/profile_page.dart'
as _i4;
import 'package:apskel_owner_flutter/presentation/pages/report/report_page.dart'
as _i5;
import 'package:apskel_owner_flutter/presentation/pages/splash/splash_page.dart'
as _i6;
import 'package:apskel_owner_flutter/presentation/pages/transaction/transaction_page.dart'
as _i7;
import 'package:auto_route/auto_route.dart' as _i8;
/// generated route for
/// [_i1.LoginPage]
class LoginRoute extends _i3.PageRouteInfo<void> {
const LoginRoute({List<_i3.PageRouteInfo>? children})
/// [_i1.HomePage]
class HomeRoute extends _i8.PageRouteInfo<void> {
const HomeRoute({List<_i8.PageRouteInfo>? children})
: super(HomeRoute.name, initialChildren: children);
static const String name = 'HomeRoute';
static _i8.PageInfo page = _i8.PageInfo(
name,
builder: (data) {
return const _i1.HomePage();
},
);
}
/// generated route for
/// [_i2.LoginPage]
class LoginRoute extends _i8.PageRouteInfo<void> {
const LoginRoute({List<_i8.PageRouteInfo>? children})
: super(LoginRoute.name, initialChildren: children);
static const String name = 'LoginRoute';
static _i3.PageInfo page = _i3.PageInfo(
static _i8.PageInfo page = _i8.PageInfo(
name,
builder: (data) {
return const _i1.LoginPage();
return const _i2.LoginPage();
},
);
}
/// generated route for
/// [_i2.SplashPage]
class SplashRoute extends _i3.PageRouteInfo<void> {
const SplashRoute({List<_i3.PageRouteInfo>? children})
/// [_i3.MainPage]
class MainRoute extends _i8.PageRouteInfo<void> {
const MainRoute({List<_i8.PageRouteInfo>? children})
: super(MainRoute.name, initialChildren: children);
static const String name = 'MainRoute';
static _i8.PageInfo page = _i8.PageInfo(
name,
builder: (data) {
return const _i3.MainPage();
},
);
}
/// generated route for
/// [_i4.ProfilePage]
class ProfileRoute extends _i8.PageRouteInfo<void> {
const ProfileRoute({List<_i8.PageRouteInfo>? children})
: super(ProfileRoute.name, initialChildren: children);
static const String name = 'ProfileRoute';
static _i8.PageInfo page = _i8.PageInfo(
name,
builder: (data) {
return const _i4.ProfilePage();
},
);
}
/// generated route for
/// [_i5.ReportPage]
class ReportRoute extends _i8.PageRouteInfo<void> {
const ReportRoute({List<_i8.PageRouteInfo>? children})
: super(ReportRoute.name, initialChildren: children);
static const String name = 'ReportRoute';
static _i8.PageInfo page = _i8.PageInfo(
name,
builder: (data) {
return const _i5.ReportPage();
},
);
}
/// generated route for
/// [_i6.SplashPage]
class SplashRoute extends _i8.PageRouteInfo<void> {
const SplashRoute({List<_i8.PageRouteInfo>? children})
: super(SplashRoute.name, initialChildren: children);
static const String name = 'SplashRoute';
static _i3.PageInfo page = _i3.PageInfo(
static _i8.PageInfo page = _i8.PageInfo(
name,
builder: (data) {
return const _i2.SplashPage();
return const _i6.SplashPage();
},
);
}
/// generated route for
/// [_i7.TransactionPage]
class TransactionRoute extends _i8.PageRouteInfo<void> {
const TransactionRoute({List<_i8.PageRouteInfo>? children})
: super(TransactionRoute.name, initialChildren: children);
static const String name = 'TransactionRoute';
static _i8.PageInfo page = _i8.PageInfo(
name,
builder: (data) {
return const _i7.TransactionPage();
},
);
}