failedItemBuilder method

Widget failedItemBuilder(
  1. BuildContext context
)

Item widgets when the thumbnail data load failed. 资源缩略数据加载失败时使用的部件

Implementation

Widget failedItemBuilder(BuildContext context) {
  return Center(
    child: ScaleText(
      Singleton.textDelegate.loadFailed,
      textAlign: TextAlign.center,
      style: const TextStyle(fontSize: 18.0),
      semanticsLabel: Singleton.textDelegate.semanticsTextDelegate.loadFailed,
    ),
  );
}