You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
When trying to make mainButton that occupy 100% Flushbar height, can't do it since it is unbounded and we don't have control over parent Row returned by _generateFlushbar() / _generateInputFlushbar() function.
I came to these possibilities:
Update _generate*Flushbar() functions and wrap Row with IntrinsicHeight according to this SO post or implement different approach, that will allow us to get the size in mainButton.
Provide custom builder as new parameter to build the entire Flushbar UI.
So yeah, if defined, it will just ignore the title, message, titleText, messageText and other visual content related attributes.
Other option is to just use GlobalKey on our widgets and set the size in WidgetsBinding.instance.addPostFrameCallback(...), but this is nasty workaround.
The text was updated successfully, but these errors were encountered:
Hello,
When trying to make
mainButton
that occupy 100% Flushbar height, can't do it since it is unbounded and we don't have control over parentRow
returned by_generateFlushbar()
/_generateInputFlushbar()
function.I came to these possibilities:
_generate*Flushbar()
functions and wrapRow
withIntrinsicHeight
according to this SO post or implement different approach, that will allow us to get the size inmainButton
.builder
as new parameter to build the entire Flushbar UI.So yeah, if defined, it will just ignore the
title
,message
,titleText
,messageText
and other visual content related attributes.Other option is to just use
GlobalKey
on our widgets and set the size inWidgetsBinding.instance.addPostFrameCallback(...)
, but this is nasty workaround.The text was updated successfully, but these errors were encountered: