|
|
@ -1,3 +1,4 @@
|
|
|
|
|
|
|
|
import 'package:aku_new_community/extensions/num_ext.dart';
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
|
@ -298,7 +299,7 @@ class _AddHousePageState extends State<AddHousePage> {
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
children: _pickedHouses
|
|
|
|
children: _pickedHouses
|
|
|
|
.mapIndexed((currentValue, index) =>
|
|
|
|
.mapIndexed((currentValue, index) =>
|
|
|
|
_propertyOwnerTile(currentValue, index))
|
|
|
|
_propertyOwnerTile(currentValue, index,))
|
|
|
|
.toList()
|
|
|
|
.toList()
|
|
|
|
.sepWidget(separate: BeeDivider.horizontal()),
|
|
|
|
.sepWidget(separate: BeeDivider.horizontal()),
|
|
|
|
),
|
|
|
|
),
|
|
|
@ -465,6 +466,7 @@ class _AddHousePageState extends State<AddHousePage> {
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
32.w.heightBox,
|
|
|
|
32.w.heightBox,
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
|
|
|
|
key: UniqueKey(),
|
|
|
|
width: double.infinity,
|
|
|
|
width: double.infinity,
|
|
|
|
height: 60.w,
|
|
|
|
height: 60.w,
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
@ -472,11 +474,28 @@ class _AddHousePageState extends State<AddHousePage> {
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
borderRadius: BorderRadius.circular(8.w),
|
|
|
|
borderRadius: BorderRadius.circular(8.w),
|
|
|
|
color: Colors.black.withOpacity(0.06)),
|
|
|
|
color: Colors.black.withOpacity(0.06)),
|
|
|
|
child: '产权信息${(index + 1).toChinese}'
|
|
|
|
child: Row(
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
'产权信息${(index + 1).toChinese}'
|
|
|
|
.text
|
|
|
|
.text
|
|
|
|
.size(26.sp)
|
|
|
|
.size(26.sp)
|
|
|
|
.color(Colors.black.withOpacity(0.45))
|
|
|
|
.color(Colors.black.withOpacity(0.45))
|
|
|
|
.make(),
|
|
|
|
.make(),
|
|
|
|
|
|
|
|
Spacer(),
|
|
|
|
|
|
|
|
IconButton(
|
|
|
|
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
|
|
|
|
constraints: BoxConstraints(minWidth: 20.w, minHeight: 20.w),
|
|
|
|
|
|
|
|
onPressed: () {
|
|
|
|
|
|
|
|
_pickedHouses.removeAt(index);
|
|
|
|
|
|
|
|
setState(() {});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
icon: Icon(
|
|
|
|
|
|
|
|
CupertinoIcons.minus,
|
|
|
|
|
|
|
|
size: 30.w,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),10.wb,
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
GestureDetector(
|
|
|
|
GestureDetector(
|
|
|
|
onTap: () async {
|
|
|
|
onTap: () async {
|
|
|
|