previous abstract method

Future<void> previous({
  1. bool waitCurrentEnd = true,
  2. bool currentEndWithAnimation = true,
  3. FutureCallback? onCurrentEndComplete,
})

waitCurrentEnd - 是否等待當前步驟關閉後再跳上個步驟 currentEndWithAnimation - 關閉當前步驟是否有動畫 onCurrentEndComplete - 當前步驟完全關閉後回調, 若需要在此執行等待操作, 可以在此回傳Future, 當waitCurrentEnd為true時有效

Implementation

Future<void> previous({
  bool waitCurrentEnd = true,
  bool currentEndWithAnimation = true,
  FutureCallback? onCurrentEndComplete,
});