showSearch(context: context, delegate: DataSearch());
When you click item to other page, this is mean use listView & listTitle
onTap: () {
Navigator.push(
context,
new MaterialPageRoute(
builder: (BuildContext context) => new PcPage(item),
)
);
},
Then back to SearchDelegate
Search bar can input !
Demo No problem because only change buildResults. So show on same page is OK.
But usually show to other details page.
https://www.youtube.com/watch?v=GLSG_Wh_YWc
Stateless vs Stateful
https://youtu.be/GLSG_Wh_YWc?t=8840
https://youtu.be/GpLb2XvKv20?t=946
https://medium.com/@matthew.smith_66715/why-we-chose-flutter-and-how-its-changed-our-company-for-the-better-271ddd25da60
State
https://www.jianshu.com/p/ed9c3378e9cc
https://tw.saowen.com/a/cff1432eff1eb306314bd241f231b4d693eaaa5aaa5310df9015fc7a0e53c134