Profile and change password pages layout improvements

This commit is contained in:
Igor Kulikov
2021-11-16 10:16:23 +02:00
parent dc18c9c04b
commit 9546ffa750
2 changed files with 132 additions and 128 deletions

View File

@@ -38,6 +38,7 @@ class _ChangePasswordPageState extends TbContextState<ChangePasswordPage> {
SizedBox.expand( SizedBox.expand(
child: Padding( child: Padding(
padding: EdgeInsets.all(16), padding: EdgeInsets.all(16),
child: SingleChildScrollView(
child: FormBuilder( child: FormBuilder(
key: _changePasswordFormKey, key: _changePasswordFormKey,
autovalidateMode: AutovalidateMode.disabled, autovalidateMode: AutovalidateMode.disabled,
@@ -126,6 +127,7 @@ class _ChangePasswordPageState extends TbContextState<ChangePasswordPage> {
] ]
), ),
) )
)
), ),
), ),
ValueListenableBuilder<bool>( ValueListenableBuilder<bool>(

View File

@@ -71,6 +71,7 @@ class _ProfilePageState extends TbPageState<ProfilePage> {
SizedBox.expand( SizedBox.expand(
child: Padding( child: Padding(
padding: EdgeInsets.all(16), padding: EdgeInsets.all(16),
child: SingleChildScrollView(
child: FormBuilder( child: FormBuilder(
key: _profileFormKey, key: _profileFormKey,
autovalidateMode: AutovalidateMode.onUserInteraction, autovalidateMode: AutovalidateMode.onUserInteraction,
@@ -117,6 +118,7 @@ class _ProfilePageState extends TbPageState<ProfilePage> {
] ]
), ),
) )
)
), ),
), ),
ValueListenableBuilder<bool>( ValueListenableBuilder<bool>(