pushWidgetBuilder method

Future<void> pushWidgetBuilder(
  1. WidgetBuilder builder
)

Push a widget builder.

Implementation

Future<void> pushWidgetBuilder(final WidgetBuilder builder) =>
    Navigator.of(this).push<void>(
      MaterialPageRoute(
        builder: builder,
      ),
    );