更新
This commit is contained in:
@@ -21,7 +21,7 @@ class RepairModelWidget extends StatefulWidget {
|
||||
int length;
|
||||
final GlobalKey widgetKey; // 新增
|
||||
final bool showDelete; // ✅ 新增
|
||||
|
||||
|
||||
RepairModelWidget({
|
||||
super.key,
|
||||
required this.model,
|
||||
@@ -143,7 +143,7 @@ class _RepairModelWidgetState extends State<RepairModelWidget> {
|
||||
),
|
||||
icon: Icon(
|
||||
Icons.keyboard_arrow_down_rounded,
|
||||
color: FlutterFlowTheme.of(context).secondaryText,
|
||||
color:Colors.white,
|
||||
size: 24.rpx,
|
||||
),
|
||||
fillColor: themeController.currentColor.sc15,
|
||||
@@ -208,12 +208,6 @@ class _RepairModelWidgetState extends State<RepairModelWidget> {
|
||||
isDense: true,
|
||||
labelStyle: TextStyle(
|
||||
letterSpacing: 0.0,
|
||||
fontWeight: FlutterFlowTheme.of(context)
|
||||
.labelMedium
|
||||
.fontWeight,
|
||||
fontStyle: FlutterFlowTheme.of(context)
|
||||
.labelMedium
|
||||
.fontStyle,
|
||||
),
|
||||
hintText: "设备参数提示".tr,
|
||||
hintStyle: TextStyle(
|
||||
@@ -238,14 +232,14 @@ class _RepairModelWidgetState extends State<RepairModelWidget> {
|
||||
),
|
||||
errorBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).error,
|
||||
//
|
||||
width: 1.rpx,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(8.rpx),
|
||||
),
|
||||
focusedErrorBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).error,
|
||||
//
|
||||
width: 1.rpx,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(8.rpx),
|
||||
@@ -295,10 +289,6 @@ class _RepairModelWidgetState extends State<RepairModelWidget> {
|
||||
isDense: true,
|
||||
labelStyle: TextStyle(
|
||||
letterSpacing: 0.0,
|
||||
fontWeight:
|
||||
FlutterFlowTheme.of(context).labelMedium.fontWeight,
|
||||
fontStyle:
|
||||
FlutterFlowTheme.of(context).labelMedium.fontStyle,
|
||||
),
|
||||
hintText: '问题描述'.tr,
|
||||
hintStyle: TextStyle(
|
||||
@@ -322,14 +312,14 @@ class _RepairModelWidgetState extends State<RepairModelWidget> {
|
||||
),
|
||||
errorBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).error,
|
||||
//
|
||||
width: 1,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(8.rpx),
|
||||
),
|
||||
focusedErrorBorder: OutlineInputBorder(
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context).error,
|
||||
//
|
||||
width: 1,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(8.rpx),
|
||||
@@ -451,14 +441,12 @@ class _RepairModelWidgetState extends State<RepairModelWidget> {
|
||||
children: [
|
||||
Text(
|
||||
'删除'.tr,
|
||||
style: FlutterFlowTheme.of(context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
color: themeController.currentColor.sc9,
|
||||
fontFamily: 'Inter',
|
||||
fontSize: AppConstants().normal_text_fontSize,
|
||||
letterSpacing: 0.0,
|
||||
),
|
||||
style: TextStyle(
|
||||
color: themeController.currentColor.sc9,
|
||||
fontFamily: 'Inter',
|
||||
fontSize: AppConstants().normal_text_fontSize,
|
||||
letterSpacing: 0.0,
|
||||
),
|
||||
),
|
||||
].divide(SizedBox(
|
||||
width: 17.rpx,
|
||||
|
||||
Reference in New Issue
Block a user