diff options
| author | Akshay Nair <phenax5@gmail.com> | 2020-06-21 23:07:33 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2020-06-21 23:07:33 +0530 |
| commit | f41510dc4e54a8c15c58a4d7ca5ecc5c023b2285 (patch) | |
| tree | bea7eae674157e07fd90ee2b98924a538d19ba07 /lib/pages | |
| parent | 0ec3ce0089cee442d8a8152befeea5213c412b14 (diff) | |
| download | daft-launcher-f41510dc4e54a8c15c58a4d7ca5ecc5c023b2285.tar.gz daft-launcher-f41510dc4e54a8c15c58a4d7ca5ecc5c023b2285.zip | |
Implements node focus in/out
Diffstat (limited to 'lib/pages')
| -rw-r--r-- | lib/pages/Apps.dart | 4 |
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, ), ); } |
