goToPreviousPage method

Future<bool> goToPreviousPage({
  1. bool withAnimation = true,
})

Goes to the previous page.

By default, withAnimation is true and takes 400ms to animate the page change. Returns true if page change was possible.

Implementation

Future<bool> goToPreviousPage({bool withAnimation = true}) async {
  return await this._channel.invokeMethod(
    'previousPage',
    {'withAnimation': withAnimation},
  );
}