renderDesktopView method
Implementation
Widget renderDesktopView(BuildContext context, ImageWithDescriptorState state) {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
if (state.displayImg)
Container(
margin: const EdgeInsets.only(left: gap),
constraints: const BoxConstraints(maxHeight: 600),
child: Image.network(
state.widget.parameters!.imgUrl!,
alignment: Alignment.topLeft,
),
),
if (state.displayImgDescription)
Text(
state.widget.parameters!.imgDescription!,
textAlign: TextAlign.justify,
),
],
);
}