From b3e337b23023334885a8d7d6b849dd601475d0d6 Mon Sep 17 00:00:00 2001 From: datang Date: Thu, 5 May 2022 10:44:37 +0800 Subject: [PATCH] a --- lib/ui/function_and_service/task/publish_task_page.dart | 2 +- lib/widget/others/user_tool.dart | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ui/function_and_service/task/publish_task_page.dart b/lib/ui/function_and_service/task/publish_task_page.dart index 90d959fc..3541c541 100644 --- a/lib/ui/function_and_service/task/publish_task_page.dart +++ b/lib/ui/function_and_service/task/publish_task_page.dart @@ -301,7 +301,7 @@ class _PublishTaskPageState extends State { .make(), ), '${_sex == 0 ? '请选择性别' : _sexStr[_sex - 1]}' - .text + .text .size(28.sp) .color(Colors.black.withOpacity(_sex == 0 ? 0.25 : 0.85)) .make(), diff --git a/lib/widget/others/user_tool.dart b/lib/widget/others/user_tool.dart index 821a7296..b6637532 100644 --- a/lib/widget/others/user_tool.dart +++ b/lib/widget/others/user_tool.dart @@ -12,4 +12,5 @@ class UserTool { Provider.of(Get.context!, listen: false); static DataProvider get dataProvider => Provider.of(Get.context!, listen: false); + UserTool(); }