In my case what solved was putting the widgets inside a Stack and adjust them with the Positioned widget. And the widget that is supposed to be above the other must come last in the stack children list.
Stack
Positioned