With MaterialPageRoute you have a builder function, so the page may make use of it. However, currently the API of this package makes usage of a child argument which does not provide the same funcionality as a builder would.
I recommend to keep child for now, but make sure to mark it as @deprecated to inform the user, and add a builder argument.
With
MaterialPageRoute
you have abuilder
function, so the page may make use of it. However, currently the API of this package makes usage of achild
argument which does not provide the same funcionality as a builder would. I recommend to keepchild
for now, but make sure to mark it as @deprecated to inform the user, and add a builder argument.