feat: change name transaction to order

This commit is contained in:
efrilm
2025-08-18 13:33:45 +07:00
parent b8055c8eab
commit 62eb15b27f
8 changed files with 54 additions and 152 deletions
+38 -38
View File
@@ -27,21 +27,21 @@ import 'package:apskel_owner_flutter/presentation/pages/language/language_page.d
as _i7;
import 'package:apskel_owner_flutter/presentation/pages/main/main_page.dart'
as _i9;
import 'package:apskel_owner_flutter/presentation/pages/product/product_list/product_page.dart'
import 'package:apskel_owner_flutter/presentation/pages/order/order_page.dart'
as _i10;
import 'package:apskel_owner_flutter/presentation/pages/profile/profile_page.dart'
import 'package:apskel_owner_flutter/presentation/pages/product/product_list/product_page.dart'
as _i11;
import 'package:apskel_owner_flutter/presentation/pages/purchase/purchase_page.dart'
import 'package:apskel_owner_flutter/presentation/pages/profile/profile_page.dart'
as _i12;
import 'package:apskel_owner_flutter/presentation/pages/report/report_page.dart'
import 'package:apskel_owner_flutter/presentation/pages/purchase/purchase_page.dart'
as _i13;
import 'package:apskel_owner_flutter/presentation/pages/sales/sales_page.dart'
import 'package:apskel_owner_flutter/presentation/pages/report/report_page.dart'
as _i14;
import 'package:apskel_owner_flutter/presentation/pages/schedule/schedule_page.dart'
import 'package:apskel_owner_flutter/presentation/pages/sales/sales_page.dart'
as _i15;
import 'package:apskel_owner_flutter/presentation/pages/splash/splash_page.dart'
import 'package:apskel_owner_flutter/presentation/pages/schedule/schedule_page.dart'
as _i16;
import 'package:apskel_owner_flutter/presentation/pages/transaction/transaction_page.dart'
import 'package:apskel_owner_flutter/presentation/pages/splash/splash_page.dart'
as _i17;
import 'package:auto_route/auto_route.dart' as _i18;
import 'package:flutter/material.dart' as _i19;
@@ -253,7 +253,23 @@ class MainRoute extends _i18.PageRouteInfo<void> {
}
/// generated route for
/// [_i10.ProductPage]
/// [_i10.OrderPage]
class OrderRoute extends _i18.PageRouteInfo<void> {
const OrderRoute({List<_i18.PageRouteInfo>? children})
: super(OrderRoute.name, initialChildren: children);
static const String name = 'OrderRoute';
static _i18.PageInfo page = _i18.PageInfo(
name,
builder: (data) {
return const _i10.OrderPage();
},
);
}
/// generated route for
/// [_i11.ProductPage]
class ProductRoute extends _i18.PageRouteInfo<void> {
const ProductRoute({List<_i18.PageRouteInfo>? children})
: super(ProductRoute.name, initialChildren: children);
@@ -263,13 +279,13 @@ class ProductRoute extends _i18.PageRouteInfo<void> {
static _i18.PageInfo page = _i18.PageInfo(
name,
builder: (data) {
return _i18.WrappedRoute(child: const _i10.ProductPage());
return _i18.WrappedRoute(child: const _i11.ProductPage());
},
);
}
/// generated route for
/// [_i11.ProfilePage]
/// [_i12.ProfilePage]
class ProfileRoute extends _i18.PageRouteInfo<void> {
const ProfileRoute({List<_i18.PageRouteInfo>? children})
: super(ProfileRoute.name, initialChildren: children);
@@ -279,13 +295,13 @@ class ProfileRoute extends _i18.PageRouteInfo<void> {
static _i18.PageInfo page = _i18.PageInfo(
name,
builder: (data) {
return _i18.WrappedRoute(child: const _i11.ProfilePage());
return _i18.WrappedRoute(child: const _i12.ProfilePage());
},
);
}
/// generated route for
/// [_i12.PurchasePage]
/// [_i13.PurchasePage]
class PurchaseRoute extends _i18.PageRouteInfo<void> {
const PurchaseRoute({List<_i18.PageRouteInfo>? children})
: super(PurchaseRoute.name, initialChildren: children);
@@ -295,13 +311,13 @@ class PurchaseRoute extends _i18.PageRouteInfo<void> {
static _i18.PageInfo page = _i18.PageInfo(
name,
builder: (data) {
return const _i12.PurchasePage();
return const _i13.PurchasePage();
},
);
}
/// generated route for
/// [_i13.ReportPage]
/// [_i14.ReportPage]
class ReportRoute extends _i18.PageRouteInfo<void> {
const ReportRoute({List<_i18.PageRouteInfo>? children})
: super(ReportRoute.name, initialChildren: children);
@@ -311,13 +327,13 @@ class ReportRoute extends _i18.PageRouteInfo<void> {
static _i18.PageInfo page = _i18.PageInfo(
name,
builder: (data) {
return _i18.WrappedRoute(child: const _i13.ReportPage());
return _i18.WrappedRoute(child: const _i14.ReportPage());
},
);
}
/// generated route for
/// [_i14.SalesPage]
/// [_i15.SalesPage]
class SalesRoute extends _i18.PageRouteInfo<void> {
const SalesRoute({List<_i18.PageRouteInfo>? children})
: super(SalesRoute.name, initialChildren: children);
@@ -327,13 +343,13 @@ class SalesRoute extends _i18.PageRouteInfo<void> {
static _i18.PageInfo page = _i18.PageInfo(
name,
builder: (data) {
return _i18.WrappedRoute(child: const _i14.SalesPage());
return _i18.WrappedRoute(child: const _i15.SalesPage());
},
);
}
/// generated route for
/// [_i15.SchedulePage]
/// [_i16.SchedulePage]
class ScheduleRoute extends _i18.PageRouteInfo<void> {
const ScheduleRoute({List<_i18.PageRouteInfo>? children})
: super(ScheduleRoute.name, initialChildren: children);
@@ -343,13 +359,13 @@ class ScheduleRoute extends _i18.PageRouteInfo<void> {
static _i18.PageInfo page = _i18.PageInfo(
name,
builder: (data) {
return const _i15.SchedulePage();
return const _i16.SchedulePage();
},
);
}
/// generated route for
/// [_i16.SplashPage]
/// [_i17.SplashPage]
class SplashRoute extends _i18.PageRouteInfo<void> {
const SplashRoute({List<_i18.PageRouteInfo>? children})
: super(SplashRoute.name, initialChildren: children);
@@ -359,23 +375,7 @@ class SplashRoute extends _i18.PageRouteInfo<void> {
static _i18.PageInfo page = _i18.PageInfo(
name,
builder: (data) {
return const _i16.SplashPage();
},
);
}
/// generated route for
/// [_i17.TransactionPage]
class TransactionRoute extends _i18.PageRouteInfo<void> {
const TransactionRoute({List<_i18.PageRouteInfo>? children})
: super(TransactionRoute.name, initialChildren: children);
static const String name = 'TransactionRoute';
static _i18.PageInfo page = _i18.PageInfo(
name,
builder: (data) {
return const _i17.TransactionPage();
return const _i17.SplashPage();
},
);
}