mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: delete button ui
This commit is contained in:
parent
a352adf0d7
commit
ee7cb0cb42
@ -236,9 +236,10 @@ class _DeleteFieldButton extends StatelessWidget {
|
|||||||
color: enable ? null : theme.shader4,
|
color: enable ? null : theme.shader4,
|
||||||
),
|
),
|
||||||
onTap: () => onDeleted?.call(),
|
onTap: () => onDeleted?.call(),
|
||||||
|
hoverColor: theme.hover,
|
||||||
|
onHover: (_) => popoverMutex.close(),
|
||||||
);
|
);
|
||||||
// if (enable) button = button;
|
return SizedBox(height: 36, child: button);
|
||||||
return button;
|
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -280,6 +280,7 @@ class _RowDetailCellState extends State<_RowDetailCell> {
|
|||||||
AppFlowyPopover(
|
AppFlowyPopover(
|
||||||
controller: popover,
|
controller: popover,
|
||||||
constraints: BoxConstraints.loose(const Size(240, 600)),
|
constraints: BoxConstraints.loose(const Size(240, 600)),
|
||||||
|
triggerActions: PopoverTriggerFlags.none,
|
||||||
popupBuilder: (popoverContext) => buildFieldEditor(),
|
popupBuilder: (popoverContext) => buildFieldEditor(),
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
width: 150,
|
width: 150,
|
||||||
|
Loading…
Reference in New Issue
Block a user