Passed registration sheet between language_select and credentials

This commit is contained in:
2023-12-21 16:50:47 +03:00
parent 05887cb39b
commit 3faae97c91
6 changed files with 43 additions and 62 deletions

View File

@@ -59,10 +59,10 @@ class _CredentialsScreenState extends State<CredentialsScreen> {
SizedBox(height: 3.v),
BlocSelector<CredentialsBloc, CredentialsState,
TextEditingController?>(
selector: (state) => state.valueController1,
builder: (context, valueController1) {
selector: (state) => state.passwordController,
builder: (context, passwordController) {
return CustomTextFormField(
controller: valueController1,
controller: passwordController,
textInputAction: TextInputAction.done);
}),
SizedBox(height: 19.v),
@@ -70,11 +70,11 @@ class _CredentialsScreenState extends State<CredentialsScreen> {
SizedBox(height: 5.v),
BlocSelector<CredentialsBloc, CredentialsState,
TextEditingController?>(
selector: (state) => state.valueController2,
builder: (context, valueController2) {
selector: (state) => state.passwordConfirmationController,
builder: (context, passwordConfirmationController) {
return CustomTextFormField(
obscureText: true,
controller: valueController2,
controller: passwordConfirmationController,
);
}),
SizedBox(height: 21.v),
@@ -83,11 +83,11 @@ class _CredentialsScreenState extends State<CredentialsScreen> {
SizedBox(height: 3.v),
BlocSelector<CredentialsBloc, CredentialsState,
TextEditingController?>(
selector: (state) => state.valueController,
builder: (context, valueController3) {
selector: (state) => state.emailController,
builder: (context, emailController3) {
return CustomTextFormField(
obscureText: true,
controller: valueController3,
controller: emailController3,
textInputAction: TextInputAction.done);
}),
Spacer(),