Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/keyboard_actions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ class KeyboardActionstate extends State<KeyboardActions>
},
child: Container(
padding:
EdgeInsets.symmetric(vertical: 8.0, horizontal: 12.0),
EdgeInsets.symmetric(vertical: 6.0, horizontal: 12.0),
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, one fix that we can do is if the user specify a defaultDoneWidget, then this padding shouldn't be apply to that, so you are free to use your own padding.
What do you think?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be even better, as it adds even more flexibility. I would keep the change of vertical padding from 8 to 6 though, otherwise users of the newly added defaultDoneButtonText will run into the same issue as in #254.
I will add a commit shortly.

child: config?.defaultDoneWidget ??
Text(
"Done",
Expand Down