in ui/lib/modules/catalog/widgets/catalog_entry_card.dart [28:65]
Widget build(BuildContext context) {
final serviceIcon = getServiceIcon(entry);
return InkWell(
onTap: () {
_dialogBuilder(context, entry);
},
child: CloudCard(
child: Padding(
padding: const EdgeInsets.all(22.0),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Image(
image: AssetImage('assets/images/${serviceIcon}.png'),
height: 40,
),
SizedBox(height: 10),
Text(
entry.name,
style: Theme.of(context).textTheme.bodyLarge,
overflow: TextOverflow.clip,
),
SizedBox(height: 5),
Text(entry.description),
SizedBox(height: 5),
Text("Category: ${entry.category}"),
SizedBox(height: 5),
entry.draft == true
? Text("(Draft)", style: Theme.of(context).textTheme.bodyLarge,
)
: Container(),
],
),
),
),
);
}