Hi, How can I make an image with gradient colors? #586
Unanswered
xiaolouxinyue
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
void clear([Color? color]) => data?.clear(color);
The api of clear do not support gradient colors, is there any way to achieve this?
Thanks
eg:
LinearGradient(begin: Alignment.topCenter, end: Alignment.bottomCenter, colors: [Color(0xFFBFBBBB), Color(0xFFFFFFFF)]),
Beta Was this translation helpful? Give feedback.
All reactions