Fix: category colors and count elements
This commit is contained in:
@@ -269,13 +269,19 @@ class _DetailPageState extends State<DetailPage> {
|
||||
item!.images[0].url,
|
||||
height: 400,
|
||||
),
|
||||
Padding(
|
||||
Center(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 10),
|
||||
child: Center(
|
||||
child: Text(categoryName != null
|
||||
? 'Категория: ${categoryName == "" ? "Без категории" : categoryName}'
|
||||
child: Chip(
|
||||
label: Text(categoryName != null
|
||||
? (categoryName == ""
|
||||
? "Без категории"
|
||||
: categoryName!)
|
||||
: ''),
|
||||
)),
|
||||
backgroundColor: Colors.white,
|
||||
),
|
||||
),
|
||||
),
|
||||
Center(
|
||||
child: MarkdownBody(
|
||||
data: '### Отстаток: _${item!.count}_',
|
||||
|
||||
Reference in New Issue
Block a user