aboutsummaryrefslogtreecommitdiff
path: root/lib/pages/Apps.dart
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2020-06-21 23:07:33 +0530
committerAkshay Nair <phenax5@gmail.com>2020-06-21 23:07:33 +0530
commitf41510dc4e54a8c15c58a4d7ca5ecc5c023b2285 (patch)
treebea7eae674157e07fd90ee2b98924a538d19ba07 /lib/pages/Apps.dart
parent0ec3ce0089cee442d8a8152befeea5213c412b14 (diff)
downloaddaft-launcher-f41510dc4e54a8c15c58a4d7ca5ecc5c023b2285.tar.gz
daft-launcher-f41510dc4e54a8c15c58a4d7ca5ecc5c023b2285.zip
Implements node focus in/out
Diffstat (limited to '')
-rw-r--r--lib/pages/Apps.dart4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/pages/Apps.dart b/lib/pages/Apps.dart
index f221d27..692ec37 100644
--- a/lib/pages/Apps.dart
+++ b/lib/pages/Apps.dart
@@ -10,8 +10,9 @@ class AppsView extends StatelessWidget {
void Function(Application) openApp;
void Function(BuildContext, Application) openOptionsMenu;
List<Application> appList;
+ FocusNode searchFieldFocus;
- AppsView({ this.appList, this.openApp, this.openOptionsMenu }): super();
+ AppsView({ this.appList, this.openApp, this.openOptionsMenu, this.searchFieldFocus }): super();
@override
Widget build(BuildContext ctx) {
@@ -21,6 +22,7 @@ class AppsView extends StatelessWidget {
appList: appList,
openApp: openApp,
openOptionsMenu: (app) => openOptionsMenu(ctx, app),
+ searchFieldFocus: searchFieldFocus,
),
);
}