如何提高图像显示质量?
How can I improve image display quality?
当我尝试在我的应用程序中加载图像时,感觉它似乎无法正确拉伸。
我尝试了 "fit" 参数的所有选项
什么也没发生
这是我的代码
SingleChildScrollView(
child: Container(
width: width,
child: Image.network(
'https://img4.manga-chan.me/manga/-9new/t/1568958338_the-gamer-tom-4-glava-290/001.png',
filterQuality: FilterQuality.high,
fit: BoxFit.cover,
),
),
)
我应该怎么做才能使图像具有原始质量?
做到了并且对我有帮助
包装在容器中的卷轴
double width = MediaQuery.of(context).size.width;
double height = MediaQuery.of(context).size.height;
Container(
width: width,
height: height,
child: SingleChildScrollView(
child: Image.network(
'https://img4.manga-chan.me/manga/-9new/t/1571807955_the-gamer-tom-4-glava-296/002.png',
filterQuality: FilterQuality.high,
fit: BoxFit.fitWidth,
),
),
)
当我尝试在我的应用程序中加载图像时,感觉它似乎无法正确拉伸。 我尝试了 "fit" 参数的所有选项 什么也没发生
这是我的代码
SingleChildScrollView(
child: Container(
width: width,
child: Image.network(
'https://img4.manga-chan.me/manga/-9new/t/1568958338_the-gamer-tom-4-glava-290/001.png',
filterQuality: FilterQuality.high,
fit: BoxFit.cover,
),
),
)
我应该怎么做才能使图像具有原始质量?
做到了并且对我有帮助
包装在容器中的卷轴
double width = MediaQuery.of(context).size.width;
double height = MediaQuery.of(context).size.height;
Container(
width: width,
height: height,
child: SingleChildScrollView(
child: Image.network(
'https://img4.manga-chan.me/manga/-9new/t/1571807955_the-gamer-tom-4-glava-296/002.png',
filterQuality: FilterQuality.high,
fit: BoxFit.fitWidth,
),
),
)