2025-06-30 10:36:30 +03:30
|
|
|
import 'package:flutter/material.dart';
|
2025-06-30 16:18:12 +03:30
|
|
|
import 'package:rasadyar_chicken/presentation/routes/routes.dart';
|
2025-09-27 14:32:33 +03:30
|
|
|
import 'package:rasadyar_chicken/presentation/utils/nested_keys_utils.dart';
|
2025-06-30 16:18:12 +03:30
|
|
|
import 'package:rasadyar_chicken/presentation/widget/base_page/view.dart';
|
2025-06-30 10:36:30 +03:30
|
|
|
import 'package:rasadyar_core/core.dart';
|
|
|
|
|
|
|
|
|
|
import 'logic.dart';
|
|
|
|
|
|
|
|
|
|
class BuyPage extends GetView<BuyLogic> {
|
|
|
|
|
const BuyPage({super.key});
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
2025-09-24 21:42:22 +03:30
|
|
|
return ChickenBasePage(
|
2025-06-30 16:18:12 +03:30
|
|
|
routes: controller.routesName,
|
|
|
|
|
isBase: true,
|
2025-10-07 14:21:09 +03:30
|
|
|
child: Column(
|
|
|
|
|
children: [
|
|
|
|
|
Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
spacing: 21.w,
|
|
|
|
|
children: [
|
|
|
|
|
GlassMorphismCardIcon(
|
|
|
|
|
title: 'خرید داخل استان',
|
|
|
|
|
vecIcon: Assets.vec.map1Svg.path,
|
|
|
|
|
gradient: LinearGradient(
|
|
|
|
|
colors: [Color(0xFF00E096), Color(0xFF007D5E)],
|
|
|
|
|
stops: [0.0, 0.95],
|
|
|
|
|
begin: AlignmentGeometry.topLeft,
|
|
|
|
|
end: AlignmentGeometry.bottomRight,
|
|
|
|
|
),
|
|
|
|
|
onTap: () {
|
|
|
|
|
Get.toNamed(ChickenRoutes.buysInProvinceSteward, id: stewardFirstKey);
|
|
|
|
|
},
|
2025-09-29 09:46:36 +03:30
|
|
|
),
|
2025-10-07 14:21:09 +03:30
|
|
|
GlassMorphismCardIcon(
|
|
|
|
|
title: 'خرید خارج استان',
|
|
|
|
|
vecIcon: Assets.vec.buyOutProvinceSvg.path,
|
|
|
|
|
gradient: LinearGradient(
|
|
|
|
|
colors: [Color(0xFF00E096), Color(0xFF007D5E)],
|
|
|
|
|
stops: [0.0, 0.95],
|
|
|
|
|
begin: AlignmentGeometry.topLeft,
|
|
|
|
|
end: AlignmentGeometry.bottomRight,
|
|
|
|
|
),
|
|
|
|
|
onTap: () {
|
|
|
|
|
Get.toNamed(ChickenRoutes.buysOutOfProvinceSteward, id: stewardFirstKey);
|
|
|
|
|
},
|
2025-09-29 09:46:36 +03:30
|
|
|
),
|
2025-10-07 14:21:09 +03:30
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
2025-06-30 10:36:30 +03:30
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|