)
],
),
// TODO: change style (make the part before colon bold)
// TODO: show remaining number of days with the date (maybe click to toggle)
if (!widget.plant.sprouted)
Text('Expected Sprout date: ${widget.plant.sproutDate}'),
Text('Expected Harvest date: ${widget.plant.harvestDate}'),
const Text(
'Care instructions:',
style: TextStyle(
fontSize: 21,
fontWeight: FontWeight.bold,
),
),
MarkdownPreview(
text: widget.plant.description.care,
),
],
),
),
https://api.github.com/ammaratef45/hydroponics-garden/blob/a16bac5e8966fc39c49b58234deb11cf36b1d3c6/lib/widgets/plant_widget.dart#L64