小编sid*_*sid的帖子

如何在颤振中使用混合混合模式?

我尝试过似乎仅适用于颜色的混合模式,即 colorblendmode。有什么方法可以实现CSSmix-blend-mode吗?

  Stack(
        children: <Widget>[
          Image.asset(
            "asset/text.PNG",
            height: double.maxFinite,
            width: double.maxFinite,
            fit: BoxFit.fitHeight,
            color: Colors.red,
            colorBlendMode: BlendMode.multiply,
          ),
          Image.asset("asset/face.jpg",
              width: double.maxFinite,
              fit: BoxFit.fitHeight,
              color: Colors.red,
              colorBlendMode: BlendMode.multiply),
        ],
      ),
Run Code Online (Sandbox Code Playgroud)

这会导致类似: 上面代码的输出

我想从 CSS 中得到什么 输出

flutter mix-blend-mode flutter-image

10
推荐指数
2
解决办法
1918
查看次数

标签 统计

flutter ×1

flutter-image ×1

mix-blend-mode ×1