我有以下代码片段,我想使图像褪色,以免它干扰容器中的其他项目.是否有可以实现此目的的过滤器?
child: new Card(
child: new Container(
decoration: new BoxDecoration(
color: const Color(0xff7c94b6),
image: new DecorationImage(
image: new ExactAssetImage('lib/images/pic1.jpg'),
)
)
)
)
Run Code Online (Sandbox Code Playgroud)