How to set custom image as icon in 2.1.1? #108
-
If I set label: Image.Asset() then button shape go rectangle with rounded corners. ImageIcon can't be set as "icon" because it requires IconData instead of Icon. iconTheme parameter also requires IconThemeData instead of IconTheme. |
Beta Was this translation helpful? Give feedback.
Answered by
prateekmedia
Feb 26, 2021
Replies: 1 comment 1 reply
-
Just use the latest version provided in the git repo and use the child and activeChild property, you could also center your image if it doesn't fits well.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
prateekmedia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just use the latest version provided in the git repo and use the child and activeChild property, you could also center your image if it doesn't fits well.