pageBuilder property

Page Function(LocalKey key, Widget child, String? name, VRouterData state) pageBuilder
final

A function which allows you to use your own custom page

You must use child as the child of your page (though you can wrap it in other widgets)

child will basically be whatever you put in _rootVRouter

Implementation

final Page Function(
    LocalKey key, Widget child, String? name, VRouterData state) pageBuilder;