goBack method

  1. @override
void goBack(
  1. BuildContext context
)
override

It goes back to the previous page

Implementation

@override
void goBack(BuildContext context) {
  developer.log("Go to the previous screen");
  html.window.history.back();
}