у меня есть среда флаттера
Flutter 1.9.1+hotfix.2 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 2d2a1ffec9 (8 months ago) • 2019-09-06 18:39:49 -0700
Engine • revision b863200c37
Tools • Dart 2.5.0
я устанавливаю зависимость проекта с помощью команды flutter pub get, после чего при запуске команды запуска команды flutter выдается ошибка
e: Supertypes of the following classes cannot be resolved. Please make sure you have the
required dependencies in the classpath:
class io.flutter.embedding.engine.plugins.FlutterPlugin.FlutterPluginBinding, unresolved
supertypes: androidx.lifecycle.LifecycleOwner
class io.flutter.embedding.engine.FlutterEngine, unresolved supertypes:
androidx.lifecycle.LifecycleOwner
e: /home/soarlogic/.pub-cache/hosted/pub.dartlang.org/custom_switch_button- 0.
5.0/android/src/main/kotlin/com/tahamalas/custom_switch_button/CustomSwitchButtonPlugin.kt:
(3, 28): Unresolved reference: NonNull
e: /home/soarlogic/.pub-cache/hosted/pub.dartlang.org/custom_switch_button- 0.
5.0/android/src/main/kotlin/com/tahamalas/custom_switch_button/CustomSwitchButtonPlugin.kt:
(13, 36): Unresolved reference: NonNull
e: /home/soarlogic/.pub-cache/hosted/pub.dartlang.org/custom_switch_button- 0.
5.0/android/src/main/kotlin/com/tahamalas/custom_switch_button/CustomSwitchButtonPlugin.kt:
(35, 30): Unresolved reference: NonNull
e: /home/soarlogic/.pub-cache/hosted/pub.dartlang.org/custom_switch_button- 0.
5.0/android/src/main/kotlin/com/tahamalas/custom_switch_button/CustomSwitchButtonPlugin.kt:
(35, 57): Unresolved reference: NonNull
e: /home/soarlogic/.pub-cache/hosted/pub.dartlang.org/custom_switch_button- 0.
5.0/android/src/main/kotlin/com/tahamalas/custom_switch_button/CustomSwitchButtonPlugin.kt:
(43, 38): Unresolved reference: NonNull
как я могу решить эту зависимость?