Skip to content
Articles
Article

A Flutter command palette where the search is the hard part

by Stephen Color dev.to

9 min read

A command palette looks like a text field with a list under it. The list is the easy half. Everything that made mine take three rewrites was underneath the field: a ranking nobody could predict, results that arrived for a query the user had already left, and a keyboard that fought the caret. I built it with no third-party packages — pure Dart scoring, a ChangeNotifier controller, widgets on top —…

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

FlutterX is supported by