canExecute property

Stream<bool> canExecute

Observable stream that issues a bool on any change of the current executable state of the command. Meaning if the command cann be executed or not. This will issue false while the command executes but also if the command receives a false from the canExecute Observable that you can pass when creating the Command

Implementation

Stream<bool> get canExecute => _canExecuteSubject.startWith(true).distinct();