kMinActionLoadingDuration top-level constant
Minimum loading duration while performing an action
Some actions may complete nearly instantly. To avoid jarring the user, and to give some indication that work has been performed, add a minimum loading duration.
Implementation
const kMinActionLoadingDuration = Duration(milliseconds: 500);