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,
|
||||
),
|
||||
onTap: () => onDeleted?.call(),
|
||||
hoverColor: theme.hover,
|
||||
onHover: (_) => popoverMutex.close(),
|
||||
);
|
||||
// if (enable) button = button;
|
||||
return button;
|
||||
return SizedBox(height: 36, child: button);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
@ -280,6 +280,7 @@ class _RowDetailCellState extends State<_RowDetailCell> {
|
||||
AppFlowyPopover(
|
||||
controller: popover,
|
||||
constraints: BoxConstraints.loose(const Size(240, 600)),
|
||||
triggerActions: PopoverTriggerFlags.none,
|
||||
popupBuilder: (popoverContext) => buildFieldEditor(),
|
||||
child: SizedBox(
|
||||
width: 150,
|
||||
|
Loading…
Reference in New Issue
Block a user