pull/1/head
戴余标 3 years ago
parent f2ea82528e
commit b3e337b230

@ -301,7 +301,7 @@ class _PublishTaskPageState extends State<PublishTaskPage> {
.make(), .make(),
), ),
'${_sex == 0 ? '请选择性别' : _sexStr[_sex - 1]}' '${_sex == 0 ? '请选择性别' : _sexStr[_sex - 1]}'
.text .text
.size(28.sp) .size(28.sp)
.color(Colors.black.withOpacity(_sex == 0 ? 0.25 : 0.85)) .color(Colors.black.withOpacity(_sex == 0 ? 0.25 : 0.85))
.make(), .make(),

@ -12,4 +12,5 @@ class UserTool {
Provider.of<AppProvider>(Get.context!, listen: false); Provider.of<AppProvider>(Get.context!, listen: false);
static DataProvider get dataProvider => static DataProvider get dataProvider =>
Provider.of<DataProvider>(Get.context!, listen: false); Provider.of<DataProvider>(Get.context!, listen: false);
UserTool();
} }

Loading…
Cancel
Save