next abstract method
Future<void>
next({
- bool waitCurrentEnd = true,
- bool currentEndWithAnimation = true,
- FutureCallback? onCurrentEndComplete,
waitCurrentEnd - 是否等待當前步驟關閉後再跳下個步驟
currentEndWithAnimation - 關閉當前步驟是否有動畫
onCurrentEndComplete -
當前步驟完全關閉後回調, 若需要在此執行等待操作, 可以在此回傳Future, 當waitCurrentEnd為true時有效
Implementation
Future<void> next({
bool waitCurrentEnd = true,
bool currentEndWithAnimation = true,
FutureCallback? onCurrentEndComplete,
});