feat: purchase page
This commit is contained in:
@@ -42,5 +42,8 @@ class AppRouter extends RootStackRouter {
|
||||
|
||||
// Sales
|
||||
AutoRoute(page: SalesRoute.page),
|
||||
|
||||
// Purchase page
|
||||
AutoRoute(page: PurchaseRoute.page),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -27,27 +27,29 @@ import 'package:apskel_owner_flutter/presentation/pages/product/product_page.dar
|
||||
as _i8;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/profile/profile_page.dart'
|
||||
as _i9;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/report/report_page.dart'
|
||||
import 'package:apskel_owner_flutter/presentation/pages/purchase/purchase_page.dart'
|
||||
as _i10;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/sales/sales_page.dart'
|
||||
import 'package:apskel_owner_flutter/presentation/pages/report/report_page.dart'
|
||||
as _i11;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/schedule/schedule_page.dart'
|
||||
import 'package:apskel_owner_flutter/presentation/pages/sales/sales_page.dart'
|
||||
as _i12;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/splash/splash_page.dart'
|
||||
import 'package:apskel_owner_flutter/presentation/pages/schedule/schedule_page.dart'
|
||||
as _i13;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/transaction/transaction_page.dart'
|
||||
import 'package:apskel_owner_flutter/presentation/pages/splash/splash_page.dart'
|
||||
as _i14;
|
||||
import 'package:auto_route/auto_route.dart' as _i15;
|
||||
import 'package:apskel_owner_flutter/presentation/pages/transaction/transaction_page.dart'
|
||||
as _i15;
|
||||
import 'package:auto_route/auto_route.dart' as _i16;
|
||||
|
||||
/// generated route for
|
||||
/// [_i1.CustomerPage]
|
||||
class CustomerRoute extends _i15.PageRouteInfo<void> {
|
||||
const CustomerRoute({List<_i15.PageRouteInfo>? children})
|
||||
class CustomerRoute extends _i16.PageRouteInfo<void> {
|
||||
const CustomerRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(CustomerRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'CustomerRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i1.CustomerPage();
|
||||
@@ -57,13 +59,13 @@ class CustomerRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i2.DailyTasksFormPage]
|
||||
class DailyTasksFormRoute extends _i15.PageRouteInfo<void> {
|
||||
const DailyTasksFormRoute({List<_i15.PageRouteInfo>? children})
|
||||
class DailyTasksFormRoute extends _i16.PageRouteInfo<void> {
|
||||
const DailyTasksFormRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(DailyTasksFormRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'DailyTasksFormRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i2.DailyTasksFormPage();
|
||||
@@ -73,13 +75,13 @@ class DailyTasksFormRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i3.HomePage]
|
||||
class HomeRoute extends _i15.PageRouteInfo<void> {
|
||||
const HomeRoute({List<_i15.PageRouteInfo>? children})
|
||||
class HomeRoute extends _i16.PageRouteInfo<void> {
|
||||
const HomeRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(HomeRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'HomeRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i3.HomePage();
|
||||
@@ -89,13 +91,13 @@ class HomeRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i4.InventoryPage]
|
||||
class InventoryRoute extends _i15.PageRouteInfo<void> {
|
||||
const InventoryRoute({List<_i15.PageRouteInfo>? children})
|
||||
class InventoryRoute extends _i16.PageRouteInfo<void> {
|
||||
const InventoryRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(InventoryRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'InventoryRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i4.InventoryPage();
|
||||
@@ -105,13 +107,13 @@ class InventoryRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i5.LanguagePage]
|
||||
class LanguageRoute extends _i15.PageRouteInfo<void> {
|
||||
const LanguageRoute({List<_i15.PageRouteInfo>? children})
|
||||
class LanguageRoute extends _i16.PageRouteInfo<void> {
|
||||
const LanguageRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(LanguageRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'LanguageRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i5.LanguagePage();
|
||||
@@ -121,13 +123,13 @@ class LanguageRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i6.LoginPage]
|
||||
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 _i6.LoginPage();
|
||||
@@ -137,13 +139,13 @@ class LoginRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i7.MainPage]
|
||||
class MainRoute extends _i15.PageRouteInfo<void> {
|
||||
const MainRoute({List<_i15.PageRouteInfo>? children})
|
||||
class MainRoute extends _i16.PageRouteInfo<void> {
|
||||
const MainRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(MainRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'MainRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i7.MainPage();
|
||||
@@ -153,13 +155,13 @@ class MainRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i8.ProductPage]
|
||||
class ProductRoute extends _i15.PageRouteInfo<void> {
|
||||
const ProductRoute({List<_i15.PageRouteInfo>? children})
|
||||
class ProductRoute extends _i16.PageRouteInfo<void> {
|
||||
const ProductRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(ProductRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ProductRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i8.ProductPage();
|
||||
@@ -169,13 +171,13 @@ class ProductRoute extends _i15.PageRouteInfo<void> {
|
||||
|
||||
/// generated route for
|
||||
/// [_i9.ProfilePage]
|
||||
class ProfileRoute extends _i15.PageRouteInfo<void> {
|
||||
const ProfileRoute({List<_i15.PageRouteInfo>? children})
|
||||
class ProfileRoute extends _i16.PageRouteInfo<void> {
|
||||
const ProfileRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(ProfileRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ProfileRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i9.ProfilePage();
|
||||
@@ -184,81 +186,97 @@ class ProfileRoute extends _i15.PageRouteInfo<void> {
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i10.ReportPage]
|
||||
class ReportRoute extends _i15.PageRouteInfo<void> {
|
||||
const ReportRoute({List<_i15.PageRouteInfo>? children})
|
||||
/// [_i10.PurchasePage]
|
||||
class PurchaseRoute extends _i16.PageRouteInfo<void> {
|
||||
const PurchaseRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(PurchaseRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'PurchaseRoute';
|
||||
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i10.PurchasePage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i11.ReportPage]
|
||||
class ReportRoute extends _i16.PageRouteInfo<void> {
|
||||
const ReportRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(ReportRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ReportRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i10.ReportPage();
|
||||
return const _i11.ReportPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i11.SalesPage]
|
||||
class SalesRoute extends _i15.PageRouteInfo<void> {
|
||||
const SalesRoute({List<_i15.PageRouteInfo>? children})
|
||||
/// [_i12.SalesPage]
|
||||
class SalesRoute extends _i16.PageRouteInfo<void> {
|
||||
const SalesRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(SalesRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'SalesRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i11.SalesPage();
|
||||
return const _i12.SalesPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i12.SchedulePage]
|
||||
class ScheduleRoute extends _i15.PageRouteInfo<void> {
|
||||
const ScheduleRoute({List<_i15.PageRouteInfo>? children})
|
||||
/// [_i13.SchedulePage]
|
||||
class ScheduleRoute extends _i16.PageRouteInfo<void> {
|
||||
const ScheduleRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(ScheduleRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'ScheduleRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i12.SchedulePage();
|
||||
return const _i13.SchedulePage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i13.SplashPage]
|
||||
class SplashRoute extends _i15.PageRouteInfo<void> {
|
||||
const SplashRoute({List<_i15.PageRouteInfo>? children})
|
||||
/// [_i14.SplashPage]
|
||||
class SplashRoute extends _i16.PageRouteInfo<void> {
|
||||
const SplashRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(SplashRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'SplashRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i13.SplashPage();
|
||||
return const _i14.SplashPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/// generated route for
|
||||
/// [_i14.TransactionPage]
|
||||
class TransactionRoute extends _i15.PageRouteInfo<void> {
|
||||
const TransactionRoute({List<_i15.PageRouteInfo>? children})
|
||||
/// [_i15.TransactionPage]
|
||||
class TransactionRoute extends _i16.PageRouteInfo<void> {
|
||||
const TransactionRoute({List<_i16.PageRouteInfo>? children})
|
||||
: super(TransactionRoute.name, initialChildren: children);
|
||||
|
||||
static const String name = 'TransactionRoute';
|
||||
|
||||
static _i15.PageInfo page = _i15.PageInfo(
|
||||
static _i16.PageInfo page = _i16.PageInfo(
|
||||
name,
|
||||
builder: (data) {
|
||||
return const _i14.TransactionPage();
|
||||
return const _i15.TransactionPage();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user