How to extend userAvatar instead of replacing? #329
-
I'd like to put the userAvatar inside of a card so that it looks clickable. I'm having trouble just adding a background? |
Beta Was this translation helpful? Give feedback.
Answered by
demchenkoalex
Oct 10, 2022
Replies: 1 comment 2 replies
-
Hi! Is there a way to extend widgets? Do you have an example maybe? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
But this is for the data classes, avatar is a widget, not a data class. How would you modify properties to add another widget on top of something with copyWith?