for creating a custom action to connect to mqtt using a button, import 'package:mqtt_client/mqtt_client.dart' is shown as an error even if mqtt_client: ^10.0.0 is added as dependency
for creating a custom action to connect to mqtt using a button, import 'package:mqtt_client/mqtt_client.dart' is shown as an error even if mqtt_client: ^10.0.0 is added as dependency