pageBuilder property

  1. @override
Page Function(LocalKey key, Widget child, String? name) 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 widget

Implementation

@override
final Page Function(LocalKey key, Widget child, String? name) pageBuilder;