Flutter app development – how to create a button that is disabled (or not) depending on a bool set by a Provider
I have a button (custom button based on the ElevatedButton) which I want to be disabled (or not) based on a bool variable (isCategorySet). isCategorySet comes from a Provider – so a Future.
Flutter app development – how to create a button that is disabled (or not) depending on a bool set by a Provider
I have a button (custom button based on the ElevatedButton) which I want to be disabled (or not) based on a bool variable (isCategorySet). isCategorySet comes from a Provider – so a Future.