selectedNotifier property

ValueNotifier<int> selectedNotifier
latefinal

Construct a notifier to notify whether if a new asset is selected or unselected. 构造一个通知器,在新资源选中或取消选中时通知。

Implementation

late final ValueNotifier<int> selectedNotifier =
    ValueNotifier<int>(selectedCount);