|
@@ -218,13 +218,14 @@ class ReviseListItem extends StatelessWidget {
|
|
|
radius: 17.25,
|
|
|
minWidth: 60,
|
|
|
minHeight: 35,
|
|
|
- ).marginOnly(left: 12),
|
|
|
+ ).marginOnly(left: 5,right: 5),
|
|
|
),
|
|
|
|
|
|
//状态工作流按钮
|
|
|
Visibility(
|
|
|
visible: item.actionList?.contains("recall") ?? false,
|
|
|
child: MyButton(
|
|
|
+ padding: const EdgeInsets.symmetric(horizontal: 10),
|
|
|
onPressed: () {
|
|
|
FocusScope.of(context).unfocus();
|
|
|
onRecallAction?.call();
|
|
@@ -235,13 +236,14 @@ class ReviseListItem extends StatelessWidget {
|
|
|
radius: 17.25,
|
|
|
minWidth: 60,
|
|
|
minHeight: 35,
|
|
|
- ).marginOnly(left: 12),
|
|
|
+ ).marginOnly(left: 5,right: 5),
|
|
|
),
|
|
|
|
|
|
//状态工作流按钮
|
|
|
Visibility(
|
|
|
visible: item.actionList?.contains("delete") ?? false,
|
|
|
child: MyButton(
|
|
|
+ padding: const EdgeInsets.symmetric(horizontal: 10),
|
|
|
onPressed: () {
|
|
|
FocusScope.of(context).unfocus();
|
|
|
onDeleteAction?.call();
|
|
@@ -252,13 +254,14 @@ class ReviseListItem extends StatelessWidget {
|
|
|
radius: 17.25,
|
|
|
minWidth: 60,
|
|
|
minHeight: 35,
|
|
|
- ).marginOnly(left: 12),
|
|
|
+ ).marginOnly(left: 5,right: 5),
|
|
|
),
|
|
|
|
|
|
//详情按钮
|
|
|
Visibility(
|
|
|
visible: item.actionList?.contains("detail") ?? false,
|
|
|
child: MyButton(
|
|
|
+ padding: const EdgeInsets.symmetric(horizontal: 10),
|
|
|
onPressed: () {
|
|
|
FocusScope.of(context).unfocus();
|
|
|
onDetailAction?.call();
|
|
@@ -269,13 +272,14 @@ class ReviseListItem extends StatelessWidget {
|
|
|
radius: 17.25,
|
|
|
minWidth: 60,
|
|
|
minHeight: 35,
|
|
|
- ).marginOnly(left: 12),
|
|
|
+ ).marginOnly(left: 5,right: 5),
|
|
|
),
|
|
|
|
|
|
//日志
|
|
|
Visibility(
|
|
|
visible: item.actionList?.contains("logs") ?? false,
|
|
|
child: MyButton(
|
|
|
+ padding: const EdgeInsets.symmetric(horizontal: 10),
|
|
|
onPressed: () {
|
|
|
FocusScope.of(context).unfocus();
|
|
|
onLogsAction?.call();
|
|
@@ -286,7 +290,7 @@ class ReviseListItem extends StatelessWidget {
|
|
|
radius: 17.25,
|
|
|
minWidth: 60,
|
|
|
minHeight: 35,
|
|
|
- ).marginOnly(left: 12),
|
|
|
+ ).marginOnly(left: 5,right: 5),
|
|
|
),
|
|
|
],
|
|
|
).marginOnly(top: 18, bottom: 2),
|