mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: add padding below field title text field (#3440)
* Fixed Issue no #3426 * Reversed the pubspec.lock mistaken update * FIXED PADDING * Fixed Padding issue on calender field edit popup
This commit is contained in:
parent
3c65a96b04
commit
d5f8ce5435
@ -52,8 +52,13 @@ class _FieldEditorState extends State<FieldEditor> {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
final bool requireSpace = widget.onDeleted != null ||
|
||||||
|
widget.onHidden != null ||
|
||||||
|
!widget.typeOptionLoader.field.isPrimary;
|
||||||
|
|
||||||
final List<Widget> children = [
|
final List<Widget> children = [
|
||||||
FieldNameTextField(popoverMutex: popoverMutex),
|
FieldNameTextField(popoverMutex: popoverMutex),
|
||||||
|
if (requireSpace) const VSpace(4),
|
||||||
if (widget.onDeleted != null) _addDeleteFieldButton(),
|
if (widget.onDeleted != null) _addDeleteFieldButton(),
|
||||||
if (widget.onHidden != null) _addHideFieldButton(),
|
if (widget.onHidden != null) _addHideFieldButton(),
|
||||||
if (!widget.typeOptionLoader.field.isPrimary)
|
if (!widget.typeOptionLoader.field.isPrimary)
|
||||||
|
Loading…
Reference in New Issue
Block a user