Skip to content

Commit

Permalink
remove unecessary focusNode
Browse files Browse the repository at this point in the history
  • Loading branch information
IldySilva authored Jan 27, 2025
1 parent caf9486 commit 0dcb1ed
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/app_center/lib/store/store_app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,11 @@ class StoreApp extends ConsumerStatefulWidget {
}

class _StoreAppState extends ConsumerState<StoreApp> {
@override
void initState() {
super.initState();
_focusScope.requestFocus();
}


final _navigatorKey = GlobalKey<NavigatorState>();
final searchFocus = FocusNode();
final _focusScope = FocusNode();


NavigatorState get _navigator => _navigatorKey.currentState!;

Expand Down

0 comments on commit 0dcb1ed

Please sign in to comment.