|
@@ -122,15 +122,6 @@ class _SelectModulePageState extends FState<SelectModulePage> {
|
|
|
);
|
|
|
}
|
|
|
|
|
|
- // FContainer(
|
|
|
- // onPressed: () {
|
|
|
- // removeChooseMeasure(
|
|
|
- // e.name ?? '',
|
|
|
- // );
|
|
|
- // },
|
|
|
- // style: const ButtonStyle(),
|
|
|
- // child:
|
|
|
-
|
|
|
/// 选中的测量项
|
|
|
FWidget _buildSlected(ItemMetaDTO e) {
|
|
|
return FGestureDetector(
|
|
@@ -231,113 +222,7 @@ class _SelectModulePageState extends FState<SelectModulePage> {
|
|
|
} else {
|
|
|
return _buildNoSlected(e);
|
|
|
}
|
|
|
- }
|
|
|
- // ?
|
|
|
- // : FContainer(
|
|
|
- // width: 180,
|
|
|
- // height: 60,
|
|
|
- // child: FCenter(
|
|
|
- // child: FColumn(
|
|
|
- // mainAxisAlignment: MainAxisAlignment.center,
|
|
|
- // children: [
|
|
|
- // FText(
|
|
|
- // getValues(
|
|
|
- // e.name ?? '',
|
|
|
- // ),
|
|
|
- // style: const TextStyle(
|
|
|
- // color: Colors.black,
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- // FText(
|
|
|
- // e.name ?? '',
|
|
|
- // style: const TextStyle(
|
|
|
- // color: Colors.black,
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- // ],
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- ).toList()
|
|
|
-
|
|
|
- // List<FWidget>.generate(
|
|
|
- // e.itemMeta.length,
|
|
|
- // (index) {
|
|
|
- // return widget.chooseMeasureList.contains(
|
|
|
- // e.itemMeta[index].name,
|
|
|
- // )
|
|
|
- // ? FElevatedButton(
|
|
|
- // onPressed: () {
|
|
|
- // removeChooseMeasure(
|
|
|
- // e.itemMeta[index].name ?? '',
|
|
|
- // );
|
|
|
- // },
|
|
|
- // style: const ButtonStyle(),
|
|
|
- // child: FContainer(
|
|
|
- // width: 180,
|
|
|
- // height: 60,
|
|
|
- // child: FCenter(
|
|
|
- // child: FColumn(
|
|
|
- // mainAxisAlignment: MainAxisAlignment.center,
|
|
|
- // children: [
|
|
|
- // FText(
|
|
|
- // getValues(
|
|
|
- // e.itemMeta[index].name ?? '',
|
|
|
- // ),
|
|
|
- // style: const TextStyle(
|
|
|
- // color: Colors.white,
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- // FText(
|
|
|
- // e.itemMeta[index].name ?? '',
|
|
|
- // style: const TextStyle(
|
|
|
- // color: Colors.white,
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- // ],
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- // )
|
|
|
- // : FElevatedButton(
|
|
|
- // onPressed: () {
|
|
|
- // addChooseMeasure(
|
|
|
- // e.itemMeta[index].name ?? '',
|
|
|
- // );
|
|
|
- // },
|
|
|
- // style: ButtonStyle(
|
|
|
- // backgroundColor: MaterialStateProperty.all(
|
|
|
- // Colors.white,
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- // child: FContainer(
|
|
|
- // width: 180,
|
|
|
- // height: 60,
|
|
|
- // child: FCenter(
|
|
|
- // child: FColumn(
|
|
|
- // mainAxisAlignment: MainAxisAlignment.center,
|
|
|
- // children: [
|
|
|
- // FText(
|
|
|
- // getValues(
|
|
|
- // e.itemMeta[index].name ?? '',
|
|
|
- // ),
|
|
|
- // style: const TextStyle(
|
|
|
- // color: Colors.black,
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- // FText(
|
|
|
- // e.itemMeta[index].name ?? '',
|
|
|
- // style: const TextStyle(
|
|
|
- // color: Colors.black,
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- // ],
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- // );
|
|
|
- // },
|
|
|
- ),
|
|
|
+ }).toList()),
|
|
|
);
|
|
|
}
|
|
|
}
|