feat: AI Agent 处理器扩展 + 服药打卡确认链路 + AI 气泡配色微调 + 数据刷新 providers 抽离 + 多端页面细节调整

This commit is contained in:
MingNian
2026-07-20 17:12:00 +08:00
parent 9cea41705e
commit 0cb5b8e85a
45 changed files with 1435 additions and 276 deletions

View File

@@ -15,3 +15,20 @@ class KeyboardLift extends StatelessWidget {
);
}
}
/// 只移动已有前景图层,不在键盘动画期间重新布局子组件。
class KeyboardTranslate extends StatelessWidget {
final Widget child;
const KeyboardTranslate({super.key, required this.child});
@override
Widget build(BuildContext context) {
final bottom = MediaQuery.viewInsetsOf(context).bottom;
return Transform.translate(
offset: Offset(0, -bottom),
transformHitTests: true,
child: RepaintBoundary(child: child),
);
}
}