refactor: إعادة تسمية التطبيقات الأربعة siro_* → intaleq_*
المجلدات وأسماء حزم dart واستيراداتها: siro_rider → intaleq_rider siro_driver → intaleq_driver siro_admin → intaleq_admin siro_service → intaleq_service شمل ذلك `name:` في كل pubspec وكل `package:siro_*` في الاستيرادات (115 ملفاً في rider وحده)، وإشارات أسماء المجلدات في docs/ وتعليق في backend/Admin/notifications/broadcast.php. لم تبقَ إشارة واحدة (تحقّقت). + ضُمّت حزم get و get_storage داخل intaleq_driver/packages/ وحُوّلت مساراتها الثلاثة من `../../Intaleq/packages/*` إلى `./packages/*`. كانت تُحل عرضاً إلى مجلد App/Intaleq القديم المجاور — تبعية خارج المستودع تنكسر بأول نقل. لم يبقَ في أي تطبيق تبعية مسار خارج الشجرة. ⚠️ لم تُمسّ بعد: هويات المتاجر (applicationId · PRODUCT_BUNDLE_IDENTIFIER · shorebird app_id) ولا الألوان ولا النصوص المرئية ولا النطاقات — كل منها كوميت منفصل، والهويات تحتاج قرار المالك. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
92dc6b3641
commit
0aab85c732
@@ -0,0 +1,129 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
import 'lang/translation_service.dart';
|
||||
import 'routes/app_pages.dart';
|
||||
import 'shared/logger/logger_utils.dart';
|
||||
|
||||
void main() {
|
||||
runApp(MyApp());
|
||||
}
|
||||
|
||||
class MyApp extends StatelessWidget {
|
||||
const MyApp({Key? key}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return GetMaterialApp.router(
|
||||
debugShowCheckedModeBanner: false,
|
||||
enableLog: true,
|
||||
logWriterCallback: Logger.write,
|
||||
// initialRoute: AppPages.INITIAL,
|
||||
getPages: AppPages.routes,
|
||||
locale: TranslationService.locale,
|
||||
fallbackLocale: TranslationService.fallbackLocale,
|
||||
translations: TranslationService(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/// Nav 2 snippet
|
||||
// void main() {
|
||||
// runApp(MyApp());
|
||||
// }
|
||||
|
||||
// class MyApp extends StatelessWidget {
|
||||
// MyApp({Key? key}) : super(key: key);
|
||||
|
||||
// @override
|
||||
// Widget build(BuildContext context) {
|
||||
// return GetMaterialApp.router(
|
||||
// getPages: [
|
||||
// GetPage(
|
||||
// participatesInRootNavigator: true,
|
||||
// name: '/first',
|
||||
// page: () => First()),
|
||||
// GetPage(
|
||||
// name: '/second',
|
||||
// page: () => Second(),
|
||||
// ),
|
||||
// GetPage(
|
||||
// name: '/third',
|
||||
// page: () => Third(),
|
||||
// ),
|
||||
// ],
|
||||
// debugShowCheckedModeBanner: false,
|
||||
// );
|
||||
// }
|
||||
// }
|
||||
|
||||
// class First extends StatelessWidget {
|
||||
// @override
|
||||
// Widget build(BuildContext context) {
|
||||
// return Scaffold(
|
||||
// appBar: AppBar(
|
||||
// title: Text('page one'),
|
||||
// leading: IconButton(
|
||||
// icon: Icon(Icons.more),
|
||||
// onPressed: () {
|
||||
// Get.changeTheme(
|
||||
// context.isDarkMode ? ThemeData.light() : ThemeData.dark());
|
||||
// },
|
||||
// ),
|
||||
// ),
|
||||
// body: Center(
|
||||
// child: Container(
|
||||
// height: 300,
|
||||
// width: 300,
|
||||
// child: ElevatedButton(
|
||||
// onPressed: () {},
|
||||
// child: Text('next screen'),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// );
|
||||
// }
|
||||
// }
|
||||
|
||||
// class Second extends StatelessWidget {
|
||||
// @override
|
||||
// Widget build(BuildContext context) {
|
||||
// return Scaffold(
|
||||
// appBar: AppBar(
|
||||
// title: Text('page two ${Get.parameters["id"]}'),
|
||||
// ),
|
||||
// body: Center(
|
||||
// child: Container(
|
||||
// height: 300,
|
||||
// width: 300,
|
||||
// child: ElevatedButton(
|
||||
// onPressed: () {},
|
||||
// child: Text('next screen'),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// );
|
||||
// }
|
||||
// }
|
||||
|
||||
// class Third extends StatelessWidget {
|
||||
// @override
|
||||
// Widget build(BuildContext context) {
|
||||
// return Scaffold(
|
||||
// backgroundColor: Colors.red,
|
||||
// appBar: AppBar(
|
||||
// title: Text('page three'),
|
||||
// ),
|
||||
// body: Center(
|
||||
// child: Container(
|
||||
// height: 300,
|
||||
// width: 300,
|
||||
// child: ElevatedButton(
|
||||
// onPressed: () {},
|
||||
// child: Text('go to first screen'),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// );
|
||||
// }
|
||||
// }
|
||||
Reference in New Issue
Block a user