【发布时间】:2023-02-07 01:40:00
【问题描述】:
我正在使用以下插件
flutter_native_splash 2.2.17
它工作完美但问题是我只能在以下setup中使用一种颜色
flutter_native_splash:
color: "#16874c" // here i am not able to use two HEX color as list in order to get gradiant color
我有以下欲望梯度
Container(
decoration: BoxDecoration(
gradient: LinearGradient(
colors: [
Colors.blue,
Colors.black,
]
)
),
),
我如何使用相同的渐变并将其提供给flutter_native_splash设置
【问题讨论】:
标签: flutter