# demo-res **Repository Path**: gao-code/demo-res ## Basic Information - **Project Name**: demo-res - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: android_dev - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-29 - **Last Updated**: 2026-01-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # diviner A new Flutter project. ## 模块规则 ### 路由 - 根路由独立,tab 的几个页面路由独立 - 路由使用 BaseRouteName 定义 - 每个非弹窗半屏页面必须继承 BaseNormalPage,logic 继承 BasePageLogic,state 继承 BasePageState - 每个弹窗或半屏必须继承 BaseOverlayPage - 路由操作统一使用 GetXWrapper,打开路由时 RouteNodeArguments 必填,RouteNodeArguments 里的 RelationPositionNode 必填 ### 位置链 - BasePositionWidget 逻辑优化,简化触发 click 事件所需代码,增加 respondClickByChildNode 逻辑,结点的 click 打点记录 actionNode - 只使用 PositionContainer 来声明位置结点,隐藏 BasePositionWidget - 位置结点的 parameters 参数改为 Function()类型 ### 下单 - 使用 touchService 模块 ### 打点 - 接入 event_helper 插件 - 使用新结构定义打点 ### 接口 - 使用 network_helper 插件 - 所有 api 请求指定 response 结构,反序列化后再返回 ### 购买 - 使用 iap_helper_plugin 插件 - 使用 paymentHelper 统一处理购买逻辑 ### 长连接 - 接入 webSocket 长连接插件 socket_helper - 使用长连接来同步顾问在线状态