toPageless<T extends Object?> method

Future<T?> toPageless<T extends Object?>(
  1. Widget page, {
  2. String? name,
  3. bool fullscreenDialog = false,
  4. bool maintainState = true,
})

Push a pageless route

Similar to _navigate.to

Implementation

Future<T?> toPageless<T extends Object?>(
  Widget page, {
  String? name,
  bool fullscreenDialog = false,
  bool maintainState = true,
  // Widget Function(
  //   BuildContext context,
  //   Animation<double> animation,
  //   Animation<double> secondAnimation,
  //   Widget child,
  // )?
  //     transitionsBuilder,
}) {
  return _navigationBuilder.toPageless<T>(
    page,
    name: name,
    fullscreenDialog: fullscreenDialog,
    maintainState: maintainState,
    // transitionsBuilder: transitionsBuilder,
  );
}