validPathThumbCount property

int get validPathThumbCount

How many path has a valid thumb data. 当前有多少目录已经正常载入了缩略图

This getter provides a "Should Rebuild" condition judgement to Selector with the path entities widget. 它为目录部件展示部分的 Selector 提供了是否重建的条件。

Implementation

int get validPathThumbCount => _pathEntityList.values.where((Tuple2<Path, Uint8List?>? d) => d != null).length;