release
This commit is contained in:
@@ -30,7 +30,7 @@ class _CarePageState extends State<CarePage> {
|
||||
backgroundColor: isDark ? const Color(0xFF121212) : Colors.white,
|
||||
appBar: AppBar(
|
||||
title: Text(
|
||||
'关怀',
|
||||
'关怀 Beta',
|
||||
style: TextStyle(
|
||||
color: isDark ? Colors.white : primaryColor,
|
||||
fontWeight: FontWeight.bold,
|
||||
@@ -183,27 +183,31 @@ class _CarePageState extends State<CarePage> {
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: _buildUserTypeButton(
|
||||
'儿童',
|
||||
_careController.userType == '儿童',
|
||||
isDark,
|
||||
primaryColor,
|
||||
Obx(() {
|
||||
final themeController = Get.find<ThemeController>();
|
||||
final currentPrimaryColor = themeController.currentThemeColor;
|
||||
return Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: _buildUserTypeButton(
|
||||
'儿童',
|
||||
_careController.userType == '儿童',
|
||||
isDark,
|
||||
currentPrimaryColor,
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 16),
|
||||
Expanded(
|
||||
child: _buildUserTypeButton(
|
||||
'学生',
|
||||
_careController.userType == '学生',
|
||||
isDark,
|
||||
primaryColor,
|
||||
const SizedBox(width: 16),
|
||||
Expanded(
|
||||
child: _buildUserTypeButton(
|
||||
'学生',
|
||||
_careController.userType == '学生',
|
||||
isDark,
|
||||
currentPrimaryColor,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
);
|
||||
}),
|
||||
const SizedBox(height: 16),
|
||||
Container(
|
||||
width: double.infinity,
|
||||
|
||||
Reference in New Issue
Block a user