Stacks support
gloomie opened this issue · 4 comments
gloomie commented
Is it possible to create Stacks and position them to a specific percentage of their parent width,heigh?
Thanks for your work with styled_widget, it is fantastic!
ReinBentdal commented
Do you mean the widget Positioned
? Did`nt quite get what you meant.
gloomie commented
Yes! I would like to use styled for all my widgets and I cant find how I
would position a stack child within the stack.
Maybe something like [ ].toStack is what actually missing. In that case,
however, I also wonder how for example someone would give positioned
arguments to a container in the children list.
…On Thu, Feb 20, 2020, 00:46 Rein Gundersen Bentdal ***@***.***> wrote:
Do you mean the widget Positioned? Did`nt quite get what you meant.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#29?email_source=notifications&email_token=AN2S44BML4G5Z22PUZXYBRTRDWZE7A5CNFSM4KX3OB4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMJ75PA#issuecomment-588512956>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN2S44GKXOFEN35ECXHKSQ3RDWZE7ANCNFSM4KX3OB4A>
.
ReinBentdal commented
toStack
actually already exist.
<Widget>[
// list of widgets
].toStack()
But I think to just use the normal Stack widget is just as good or even better.
A implementation of the Poditioned
widget is on my to-do list
gloomie commented
Oh, nice - I didnt notice. Many thanks!
…On Thu, Feb 20, 2020, 10:24 Rein Gundersen Bentdal ***@***.***> wrote:
toStack actually already exist.
<Widget>[
// list of widgets
].toStack()
But I think to just use the normal Stack widget is just as good or even
better.
A implementation of the Poditioned widget is on my to-do list
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#29?email_source=notifications&email_token=AN2S44AL5FRB6X3Q657WHCDRDY45DA5CNFSM4KX3OB4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEML2LCY#issuecomment-588752267>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN2S44H25MQ7PM2JDPL6JWLRDY45DANCNFSM4KX3OB4A>
.