pageBack static method

String pageBack()

Returns base64 encoded string as a finder for appium-flutter-driver. https://github.com/truongsinh/appium-flutter-driver#finders

var finder = AppiumFlutterFinder.pageBack()
var element = driver.getElement(finder);
await element.click();  // Do actions against the element

Implementation

static String pageBack() {
  return base64.encode(
      utf8.encode(json.encode({'finderType': 'PageBack'}).toString()));
}