Currently if we need custom breakpoints, we will need to provide the ScreenBreakpoints object to every ScreenTypeLayout calls. It would be nice if we can use something like BreakpointProvider to provide it at the topmost of widget tree, then every instance of ScreenTypeLayout can get it internally.
Currently if we need custom breakpoints, we will need to provide the
ScreenBreakpoints
object to everyScreenTypeLayout
calls. It would be nice if we can use something likeBreakpointProvider
to provide it at the topmost of widget tree, then every instance ofScreenTypeLayout
can get it internally.