createLoading

创建一个 Loading 状态实例。

Return

代表加载中状态的 AsyncImagePainterState 实例。

Parameters

painter

在加载期间显示的占位符 Painter,可以为 null。