Comments (4)
Yeah, thanks to your keen eye, that has been rectified.
Much appreciated.
Cheers!
from flutter_chips_input.
Hi @technolion,
I decided against the usage of onChipTapped
method because the user creates their own InputChip
widget within chipBuilder
. So to implement such functionality you'd have it like this:
chipBuilder: (context, state, profile) {
return InputChip(
key: ObjectKey(profile),
label: Text(profile.name),
avatar: CircleAvatar(
backgroundImage: NetworkImage(profile.imageUrl),
),
onDeleted: () => state.deleteChip(profile),
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
onPressed: //YOUR METHOD HERE,
);
},
from flutter_chips_input.
I don't think there's a way to access the InputChip
s from within the library. The attribute should have actually been removed.
from flutter_chips_input.
@danvick thanks for the feedback. Great, so we implement the method on our inserted InputChip.
But should'nt the onChipTapped callback be removed in your Code and in the documentation?
from flutter_chips_input.
Related Issues (20)
- Delay between typing text and getting a suggestion
- Compiler error after upgrading to Flutter 2.13.0-0.2.pre (Beta channel) HOT 1
- Error in TextInputClient for flutter 3 HOT 6
- Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null
- After version 2.0.0 can only enter a single character HOT 2
- Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.
- Cannot delete the initial value with normal delete button keyboard HOT 1
- Error on showing chips when adding suffix or prefix icons
- Is there a way to add the user input value even if the value is not found. HOT 2
- Changing background of the input area
- Keyboard backspace not registered HOT 1
- add in readme
- write @ then complete HOT 1
- How to not dismiss the suggestion list while choosing many suggestion at a time
- ChipsInputState missing performSelector override
- Add "@" as a char HOT 1
- Move this repository to Flutter form builder ecosystem HOT 1
- Not able to add more than 1 character and backspace also not working in samsung devices using samsung default keyboard. HOT 2
- Not compatible with flutter 3.7 HOT 22
- Hello, how to make the textEditController selection to the end when addeda WidgetSpan
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_chips_input.