How do you style containers? #1601
Unanswered
patientplatypus6
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
-
Maybe it's just me, but styling containers using CSS rules seems overly difficult or I just don't understand.
Consider the following code
I would expect that for the line
I should be able to do something along the lines of (pseudocode):
but I can't find anything like that in the documentation. I'm supposed to use themes somehow and then pass that theme into the application and then call it again? Why can't I just style each individual container like in CSS? I understand that you want to disaggregate the styling vs the sizing of the elements, but I just find the way that styling works confusing. Maybe take a look at the way that Dart/Flutter implements styling?
Anyway, if you could provide some examples of how to implement a simple styled container that would be useful. Thanks!
EDIT:
OK, I'm taking a look at this answer, and I find it unsatisfactory: #1266. In essence it is non-replicable (an old version of the program being used?) and I can't compile it.
Beta Was this translation helpful? Give feedback.
All reactions