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(); }