登录后重新渲染个人页面bug fixed
This commit is contained in:
@ -22,6 +22,7 @@ class RegionSelector extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return SizedBox(
|
||||
width: 420,
|
||||
height: 100,
|
||||
child: Consumer<RegionProvider>(
|
||||
builder: (context, regionProvider, child) => Column(
|
||||
@ -54,12 +55,17 @@ class RegionSelector extends StatelessWidget {
|
||||
// SizedBox(width: 8),
|
||||
Row(
|
||||
children: [
|
||||
InkWell(
|
||||
child: Icon(Icons.close,
|
||||
size: 20, color: Colors.grey[500]),
|
||||
onTap: () {}),
|
||||
(regionProvider.tempProvinceName != '')
|
||||
? InkWell(
|
||||
child: Icon(Icons.close,
|
||||
size: 30,
|
||||
color: Colors.grey[500]),
|
||||
onTap: () {
|
||||
regionProvider.clearTemp();
|
||||
})
|
||||
: const SizedBox(),
|
||||
Icon(Icons.keyboard_arrow_down,
|
||||
size: 28, color: Colors.grey[500]),
|
||||
size: 30, color: Colors.grey[500]),
|
||||
],
|
||||
)
|
||||
],
|
||||
|
Reference in New Issue
Block a user