File tree Expand file tree Collapse file tree 7 files changed +19
-12
lines changed Expand file tree Collapse file tree 7 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ class _ChangePasswordBottomSheetState extends State<ChangePasswordBottomSheet>
9696 labelText: 'New password' ,
9797 focusNode: newPasswordFocusNode,
9898 onSubmitted: () {
99- FocusScope .of (context).requestFocus ( FocusNode () );
99+ FocusScope .of (context).unfocus ( );
100100 },
101101 textInputAction: TextInputAction .done,
102102 );
@@ -134,7 +134,7 @@ class _ChangePasswordBottomSheetState extends State<ChangePasswordBottomSheet>
134134 padding: const EdgeInsets .all (12 ),
135135 elevation: 8 ,
136136 onPressed: () {
137- FocusScope .of (context).requestFocus ( FocusNode () );
137+ FocusScope .of (context).unfocus ( );
138138 changePasswordBloc.changePassword ();
139139 },
140140 child: Text (
Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ class _MyLoginPageState extends State<LoginPage>
201201 labelText: 'Password' ,
202202 textInputAction: TextInputAction .done,
203203 onSubmitted: () {
204- FocusScope .of (context).requestFocus ( FocusNode () );
204+ FocusScope .of (context).unfocus ( );
205205 },
206206 focusNode: passwordFocusNode,
207207 );
@@ -214,7 +214,7 @@ class _MyLoginPageState extends State<LoginPage>
214214 animation: buttonSqueezeAnimation,
215215 child: MaterialButton (
216216 onPressed: () {
217- FocusScope .of (context).requestFocus ( FocusNode () );
217+ FocusScope .of (context).unfocus ( );
218218 loginBloc.submitLogin ();
219219 },
220220 color: Theme .of (context).backgroundColor,
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ class _RegisterPageState extends State<RegisterPage>
195195 onChanged: registerBloc.passwordChanged,
196196 focusNode: passwordFocusNode,
197197 onSubmitted: () {
198- FocusScope .of (context).requestFocus ( FocusNode () );
198+ FocusScope .of (context).unfocus ( );
199199 },
200200 textInputAction: TextInputAction .done,
201201 );
@@ -208,7 +208,7 @@ class _RegisterPageState extends State<RegisterPage>
208208 animation: buttonSqueezeAnimation,
209209 child: MaterialButton (
210210 onPressed: () {
211- FocusScope .of (context).requestFocus ( FocusNode () );
211+ FocusScope .of (context).unfocus ( );
212212 registerBloc.submitRegister ();
213213 },
214214 color: Theme .of (context).backgroundColor,
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ class _InputTokenAndResetPasswordPageState
146146 onChanged: resetPasswordBloc.passwordChanged,
147147 labelText: 'Password' ,
148148 onSubmitted: () {
149- FocusScope .of (context).requestFocus ( FocusNode () );
149+ FocusScope .of (context).unfocus ( );
150150 },
151151 textInputAction: TextInputAction .done,
152152 focusNode: passwordFocusNode,
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ class _SendEmailPageState extends State<SendEmailPage>
8686 onChanged: bloc.emailChanged,
8787 textInputAction: TextInputAction .done,
8888 onSubmitted: (_) {
89- FocusScope .of (context).requestFocus ( FocusNode () );
89+ FocusScope .of (context).unfocus ( );
9090 },
9191 style: TextStyle (fontSize: 16.0 ),
9292 );
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ packages:
175175 name: cupertino_icons
176176 url: "https://pub.dartlang.org"
177177 source: hosted
178- version: "1.0.0 "
178+ version: "1.0.2 "
179179 dart_style:
180180 dependency: transitive
181181 description:
@@ -491,7 +491,14 @@ packages:
491491 name: rx_shared_preferences
492492 url: "https://pub.dartlang.org"
493493 source: hosted
494- version: "1.3.3"
494+ version: "1.3.4"
495+ rx_storage:
496+ dependency: transitive
497+ description:
498+ name: rx_storage
499+ url: "https://pub.dartlang.org"
500+ source: hosted
501+ version: "0.0.1"
495502 rxdart:
496503 dependency: "direct main"
497504 description:
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ dependencies:
1010 flutter :
1111 sdk : flutter
1212
13- cupertino_icons : ^1.0.0
13+ cupertino_icons : ^1.0.2
1414
1515 path : ^1.7.0
1616 http : ^0.12.2
@@ -22,7 +22,7 @@ dependencies:
2222
2323 distinct_value_connectable_stream : ^1.2.0-beta02
2424 flutter_provider : ^1.1.1
25- rx_shared_preferences : ^1.3.3
25+ rx_shared_preferences : ^1.3.4
2626 disposebag : ^1.4.0
2727 flutter_disposebag : ^1.0.0
2828 flutter_bloc_pattern : ^1.2.0
You can’t perform that action at this time.
0 commit comments