WhatsAppUIClone
WhatsAppUIClone copied to clipboard
initializer error in CameraValue
I have issues running the app relating to an initializer in CameraValue
Waiting for another flutter command to release the startup lock... compiler message: lib/pages/camera_screen.dart:39:27: Error: The getter 'initialized' isn't defined for the class '#lib1::CameraValue'. compiler message: Try correcting the name to the name of an existing getter, or defining a getter or field named 'initialized'. compiler message: if (!controller.value.initialized) {
declare this : dependencies: camera: ^0.2.4
in pubspec.yaml in my project it is running. good luck 👍
@s2010 replace controller.value.initialized
with controller.value.isInitialized
problem solved.
The issue is solved by @love3forever