Passing value from main layout to its child layout

i used query parameters but it didn’t fit to me. Are there any possible ways?

Yes.
See the description of withAfterNavigationHandler() method in Opening Views.