presentImage method
presentImage returns a widget to display the given image
in a UI.
Implementation
Widget presentImage(Widget image) {
return Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(6),
border: Border.all(
width: 2,
color: Colors.black,
),
),
child: image,
);
}