failedItemBuilder method

Widget failedItemBuilder(
  1. BuildContext context
)

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

Implementation

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