Flutter-将颜色混合模式应用于文本小部件

时间:2018-08-16 09:53:48

标签: flutter flutter-layout

我想将blendmode应用于文本小部件。将其设置为与红色混合,然后使用屏幕的混合模式。

示例代码:

enter image description here

白色BG上的结果

enter image description here

应用结果:

enter image description here

您将看到blendmode应用于文本后面的背景小部件,实际上是在其上进行混合。

有没有办法使混合文本不影响其后面的图层/小部件?

0 个答案:

没有答案
相关问题