Advertisement
Guest User

Untitled

a guest
Mar 21st, 2022
390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. return SingleChildScrollView(
  2. child: Column(
  3. children: [
  4. const SizedBox(height: 20),
  5. Container(
  6. margin: const EdgeInsets.all(8),
  7. child: Row(
  8. children: const [
  9. SizedBox(
  10. width: 20,
  11. ),
  12. Text(
  13. 'My Profile',
  14. style: TextStyle(fontSize: 25),
  15. ),
  16. Spacer(),
  17. LogoutButton(),
  18. ],
  19. ),
  20. ),
  21. Column(
  22. children: [
  23. FirstNameData(accountData: accountData),
  24. LastNameData(accountData: accountData),
  25. PhoneNumberData(accountData: accountData),
  26. HourlyRateData(accountData: accountData),
  27. // Spacer(), here i want to have a spacer but im getting an error and the whole widgets dissapear
  28. Row(
  29. mainAxisAlignment: MainAxisAlignment.center,
  30. children: [
  31. editProfileButton(
  32. alertDialogForEditProfile, context),
  33. const SizedBox(
  34. width: 15,
  35. ),
  36. editPasswordButton(
  37. alertDialogForEditPassword,
  38. context,
  39. )
  40. ],
  41. )
  42. ],
  43. ),
  44. ],
  45. ),
  46. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement