如何在Flutter中创建带有搜索和下拉列表的文本字段?

huangapple go评论63阅读模式
英文:

How to make a textfield with search and dropdown list in Flutter?

问题

我有一个问题。我需要制作一个带内联搜索的文本字段。当用户在文本字段中输入字符时,数据将被搜索,并在底部显示一个带有数据的下拉列表(如截图所示)。但我没有找到一个可以按照我的设计实现这个功能的包。有人知道如何制作一个带底部下拉列表的文本字段吗?

英文:

I have a problem. I need to make a textfield with inline search. When the user enters characters into the text field, the data is searched and a drop-down list appears at the bottom with the data (as in the screenshot). But I did not find a package that could implement this feature according to my design. Does anyone know how to make a textfield with a drop down list at the bottom?

答案1

得分: 1

包,满足您在Flutter中的要求的要求 :: https://pub.dev/packages/flutter_typeahead 具有许多其他有用的功能

英文:

Package that fulfill your requirements in flutter :: https://pub.dev/packages/flutter_typeahead with many other useful features

huangapple
  • 本文由 发表于 2023年3月7日 18:38:26
  • 转载请务必保留本文链接:https://go.coder-hub.com/75660889.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定