I save my image in database with backslash (\) in address like this:
\image\carimage\2021_123test.jpg
Ok, when I want to show it in Image.network('imageurl') in flutter it is not possible to show that, because of backslash in path, I update one of iamge from database maunulay like this
/image/carimage/2021_123test.jpg
It work fine. In webpage I can see my images with previous path but in flutter I must change path, how can I do that dynamically
Update:
return Scaffold(
appBar: AppBar(
title: const Text('car pro '),
),
body: controller.obx(
(data) => Center(
child: (Card(
child: Column(
children: [
Image.network('http://mywebsite.com/' + data!['image']),
],
),
)),
),
),
);