MutterCorp
MutterCorpNotice · Notícias
Programação·

A Flutter command palette where the search is the hard part

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 — and ran it at 320 dp with 3.0× text. These are the parts that only break once real data, real typin…

Publicado no Notice. Categoria: Programação.

Notícias sobre o mesmo assunto em outras fontes