Use Spacer if you want both to be as far apart as possible. Use Wrap instead of Row Widget and give some spacing.
Read moreIs Row a widget in Flutter?
Row and Column are the two most important and powerful widgets in Flutter . These widgets let you align children horizontally and vertically as per the requirement.
Read moreWhen should we use a resizeToAvoidBottomInset?
Use resizeToAvoidBottomInset to specify if the body should resize when the keyboard appears .
Read more