Fixed broken layouts after refactoring. Fixed a bug (onTapNext() is called on screen build

This commit is contained in:
2024-03-14 15:54:19 +03:00
parent 52c62988e6
commit 77dadba8fc

View File

@@ -34,7 +34,7 @@ class NameScreen extends StatelessWidget {
body: Container(
width: double.maxFinite,
padding: EdgeInsets.symmetric(horizontal: 16.h, vertical: 9.v),
child: ListView(children: [
child: Column(children: [
SizedBox(height: 7.v),
Container(
height: 16.v,
@@ -74,7 +74,7 @@ class NameScreen extends StatelessWidget {
controller: lastNameController,
);
}),
SizedBox(height: 21.v),
Spacer(),
BlocBuilder<NameBloc, NameState>(builder: (context, state) {
return NextStepButton(
text: "continue".tr.toUpperCase(),