Comments (1)
To create custom Choice Chip use choiceChipBuilder
. Below is an example of choiceChipBuilder
choiceChipBuilder: (context, item, isSelected) {
return Container(
padding: EdgeInsets.symmetric(horizontal: 16, vertical: 12),
margin: EdgeInsets.symmetric(horizontal: 10, vertical: 10),
decoration: BoxDecoration(
border: Border.all(
color: isSelected! ? Colors.blue[300]! : Colors.grey[300]!,
)),
child: Text(
item.name,
style: TextStyle(
color: isSelected ? Colors.blue[300] : Colors.grey[300]),
),
);
}
from flutter_plugin_filter_list.
Related Issues (20)
- Filter By date HOT 1
- Customise close button on a dialog HOT 1
- Option to Remove The Shadow in FilterList Content Area HOT 2
- Disabling "All" and "Reset" buttons HOT 4
- [Question] Change title apply button & title search HOT 1
- How to Add subtitle HOT 1
- Error: Type 'ListTileThemeData' not found - When compiling on Macos HOT 1
- Null check operator used on a null value
- [Question] initial selected HOT 1
- Boa noite!
- Maximum selectable Chips HOT 3
- Remove bottom Bar Or just remove Apply button. HOT 3
- Selected Text Count on bottom. HOT 3
- RenderCustomMultiChildLayoutBox object was given an infinite size during layout.
- [Question] FilterListDialog.display is missing i18n parameters for "searchFieldHintText" HOT 1
- FilterListDelegateThemeData does not apply changed theme data HOT 1
- Support creation HOT 1
- How do I trigger the removeSelectedItem(item) method in a sibling of the FilterListWidget component on the same page and refresh the FilterListWidget
- [Bug] FilterListDelegate bug when select item HOT 1
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_plugin_filter_list.