1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-29 06:26:02 +00:00
This commit is contained in:
Yan Maniez 2020-02-26 11:00:26 +01:00
parent 90abb5ccb0
commit d3c6cf4b65

View file

@ -195,7 +195,45 @@ class _MyHomePageState extends State<MyHomePage> {
child: ListView(
// Important: Remove any padding from the ListView.
padding: EdgeInsets.zero,
children: <Widget>[
children: (item as FilteredItems).toFilterMap().entries.map(
(filter) =>
//ListTile(title: Text(filter.key))
Container(
child: Wrap(
children: filter.value.toString().split("|").map(
(choice) =>
FilterChip(
label: Text(choice),
backgroundColor: Colors.transparent,
shape: StadiumBorder(side: BorderSide()),
onSelected: (bool value) {
print("selected");
},
)
).toList()/* <Widget>[
FilterChip(
label: Text("truc"),
backgroundColor: Colors.transparent,
shape: StadiumBorder(side: BorderSide()),
onSelected: (bool value) {
print("selected");
},
),
FilterChip(
label: Text("truc"),
backgroundColor: Colors.transparent,
shape: StadiumBorder(side: BorderSide()),
onSelected: (bool value) {
print("selected");
},
),
],*/
),
)
).toList()
/*<Widget>[
DrawerHeader(
child: Text('Drawer Header'),
decoration: BoxDecoration(
@ -238,7 +276,7 @@ class _MyHomePageState extends State<MyHomePage> {
],
),
),
],
],*/
),
) : null,
appBar: AppBar(