1.0.20+20 version bump
All checks were successful
Flutter Schmutter / build (push) Successful in 3m6s
All checks were successful
Flutter Schmutter / build (push) Successful in 3m6s
This commit is contained in:
@ -149,10 +149,11 @@ class _DetailViewState extends State<DetailView> {
|
||||
children: item.tags.map((tag) {
|
||||
return Chip(
|
||||
label: Text(tag.tag),
|
||||
backgroundColor: {
|
||||
1: Colors.green,
|
||||
2: Colors.red
|
||||
}[tag.id] ?? const Color(0xFF090909),
|
||||
backgroundColor: switch (tag.id) {
|
||||
1 => Colors.green,
|
||||
2 => Colors.red,
|
||||
_ => const Color(0xFF090909)
|
||||
},
|
||||
labelStyle: const TextStyle(color: Colors.white),
|
||||
);
|
||||
}).toList(),
|
||||
|
Reference in New Issue
Block a user