Description:
I have a Stack with two Widgets. Widget1 (as a background) being a Grid of 4 AssetImages and Widget2 being a semi-transparent rectangular coloured Container building on top of Widget1. The Stack is building both widgets as expected!
Problem:
Widget2 is visually rendered before Widget1, which leads to an awkward effect because Widget2 is rendered over an empty background. I assume that this is caused by Stack async building of children however AssetImage is a synchronous call...
Question:
How to make Widget2 rendering to wait for widget1 until Widget1 gets fully visual as the background?
Notice that I have already tried WidgetBindings.instance.addPostframeCallback
Many Thanks,