【问题标题】:Background Gradient Effect Flutter背景渐变效果颤动
【发布时间】:2022-08-10 19:29:05
【问题描述】:

如何在 Flutter 中实现这种渐变背景效果?

This is what I am trying to achieve

作为学校项目的一部分,我正在从事这项工作,但我对编码还比较陌生,所以我真的很挣扎。请帮忙。

  • 只是谷歌\“渐变颤振\”

标签: flutter user-interface gradient


【解决方案1】:
return Container(
      decoration: BoxDecoration(
        gradient: [List of Your Colors]
      ),
    );

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-25
    • 1970-01-01
    • 1970-01-01
    • 2022-10-14
    • 2012-03-31
    • 2011-03-15
    相关资源
    最近更新 更多