disable property

bool Function(BuildContext context, Object? item) disable
final

Execute when checking if the item should be disabled or not. Should return true if the item has to be disabled;

Implementation

final bool Function(BuildContext context, Object? item) disable;