Closed 346218368 closed 1 year ago
1.场景:例如在header的processedDuration为1s,则当onRefresh的执行时间<1s时,header回弹到顶部后恢复状态后,其箭头仍然是向上(初始状态应该是向下的) 2.疑问:在processedDuration值固定的情况下,除了人为延长onRefresh和onLoad的执行时间外使其不小于processedDuration外,有其他方案吗?我认为延长onRefresh和onLoad的执行时间是不太合理的
经验证:onrefresh和onLoad瞬间完成出现此问题,至少需要有1ms时延再finish则不会出现该问题
测试过程使用await Future.delayed(const Duration(milliseconds: 0));即可
1.场景:例如在header的processedDuration为1s,则当onRefresh的执行时间<1s时,header回弹到顶部后恢复状态后,其箭头仍然是向上(初始状态应该是向下的) 2.疑问:在processedDuration值固定的情况下,除了人为延长onRefresh和onLoad的执行时间外使其不小于processedDuration外,有其他方案吗?我认为延长onRefresh和onLoad的执行时间是不太合理的