Comments (3)
Would this be more like rendering a GridView ??
from flutter_typeahead.
I believe so, yes.
from flutter_typeahead.
We have a requirement to render buttons in a GridView manner inside of suggestion box. Is GridView item builder supported? Currently, we only can use built-in ListView item builder. Right? This is a line where the ListView is used:
flutter_typeahead/lib/flutter_typeahead.dart
Line 1240 in d46c337
I suggest to have a configuration if a GridView
should be used. E.g.
GridViewOptions(
crossAxisSpacing: 10,
mainAxisSpacing: 10,
crossAxisCount: 2,
)
Another option: pass in the whole builder widget and a callback to be called for every item. What do you think? I could provide a PR if we define an API.
from flutter_typeahead.
Related Issues (20)
- [Bug] Keyboard up arrow skips multiple items in list on desktop HOT 1
- Cannot apply border to InkWell in material defaults HOT 1
- Mouse cursor doesn't change to pointer-hand when `ListTile` is returned in `itemBuilder`
- Add to other list, Typeahead suggestion box auto focus HOT 1
- [Bug] - Clear Suggestions Cache
- Navigating back to a typeaheadfield with a swipe gesture makes the field lose focus and become unresponsive HOT 1
- [Bug] Drop frame in 5.x.x version HOT 1
- [Bug] Magnifier doesn't show the text on iOS
- Green Screen Flicker Behind Keyboard
- suggestionCallback does not get called when the builder property returns a textfield HOT 2
- [Bug] TextInputAction.next doesn't work properly HOT 1
- [Bug] TextField Does Not Call Suggestions Callback On Flutter Web Only HOT 3
- [Bug] Floater is built too early, casuing "Cannot hit test a render box" when in an eagerly loaded PageView HOT 1
- [Bug] iOS only BackdropFilter with ImageFilter blur is not applied to TypeAheadField
- Support for android [Feature] HOT 1
- [Bug] Project won't build on latest version of Flutter 3.24.0 (due to pointer interceptor issue) HOT 2
- [Bug] OnSelected function not working in version:5.2.0 HOT 5
- Does it only support IOS and web platforms? ?
- Expanding gray overlay appears when keyboard receives focus on type ahead field
- [Bug] Unwanted vibrations on init or onSelect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_typeahead.