SpecialItemBuilder<Path> typedef

SpecialItemBuilder<Path> = Widget? Function(BuildContext context, Path? path, int length)

Build the special item with the given path and assets length. 根据给定的目录和资源数量构建特殊 item。

Implementation

typedef SpecialItemBuilder<Path> = Widget? Function(
  BuildContext context,
  Path? path,
  int length,
);