back method

Future back({
  1. String? navigation,
  2. bool isDismissed = false,
})

Use this method to go back one CupertinoStackView in the Cupertino StackView system.

Implementation

Future back({String? navigation, bool isDismissed: false}) async {
  await navigate(_map[1]._navigation, null, null);
  if (isDismissed && onDismissed != null) {
    onDismissed!(navigation);
  }
}