Videoview not loading for android 9 (API 28)

After integration, the video view doesn’t load on android both emulators and real device. The error below is thrown.

I/BufferQueueProducer(28029): [SurfaceTexture-0-28029-0](this:0x7bee949000,id:0,api:4,p:549,c:28029) queueBuffer: slot 1 is dropped
I/BufferQueueProducer(28029): [SurfaceTexture-0-28029-0](this:0x7bee949000,id:0,api:4,p:549,c:28029) queueBuffer: fps=1.92 dur=10390.06 max=9740.82 min=32.65
I/Camera  (28029): handleMessage: 16
I/PlatformViewsController(28029): Hosting view in a virtual display for platform view: 2
I/BufferQueue(28029): [unnamed-28029-3](this:0x7c0cee5000,id:3,api:0,p:-1,c:-1) BufferQueue core=(28029:com.my1health.health)
E/libc    (28029): Access denied finding property "vendor.debug.sf.stc_interval"
E/libc    (28029): Access denied finding property "vendor.debug.bq.dump"
I/BufferQueueConsumer(28029): [unnamed-28029-3](this:0x7c0cee5000,id:3,api:0,p:-1,c:28029) connect(C): consumer=(28029:com.my1health.health) controlledByApp=true
E/libc    (28029): Access denied finding property "vendor.debug.bq.dump"
I/BufferQueueConsumer(28029): [unnamed-28029-3](this:0x7c0cee5000,id:3,api:0,p:-1,c:28029) setConsumerName: unnamed-28029-3
E/libc    (28029): Access denied finding property "vendor.debug.bq.line"
E/libc    (28029): Access denied finding property "vendor.debug.bq.dump"
I/BufferQueueConsumer(28029): [SurfaceTexture-0-28029-3](this:0x7c0cee5000,id:3,api:0,p:-1,c:28029) setConsumerName: SurfaceTexture-0-28029-3
E/libc    (28029): Access denied finding property "vendor.debug.bq.line"
I/GLConsumer(28029): [SurfaceTexture-0-28029-3] detachFromContext
I/BufferQueueProducer(28029): [SurfaceTexture-0-28029-0](this:0x7bee949000,id:0,api:4,p:549,c:28029) queueBuffer: slot 0 is dropped, handle=0x7c0d1d65c0
I/PlatformViewsController(28029): PlatformView is using SurfaceTexture backend
D/Surface (28029): lockHardwareCanvas
D/OpenSSLLib(28029): OpensslErr:Module:30(110:); file:external/boringssl/src/crypto/fipsmodule/cipher/cipher.c ;Line:563;Function:EVP_CIPHER_CTX_set_key_length
D/Surface (28029): Surface::connect(this=0x7bee94e000,api=1)
I/BufferQueueProducer(28029): [SurfaceTexture-0-28029-3](this:0x7c0cee5000,id:3,api:1,p:28029,c:28029) connect(P): api=1 producer=(28029:com.my1health.health) producerControlledByApp=true
E/libc    (28029): Access denied finding property "vendor.debug.bq.line"

I found the Issue incase someone is struggling too

For Flutter version 3.16, platform views functionality has been disrupted. Specifically, the VideoView component fails to render video on Android versions prior to 10. Checkout this issue in detail here.

These platform view issues persist in subsequent Flutter releases, including version 3.19.x

As of the latest development in the Flutter master branch, the above issues have been addressed and resolved. Future releases of Flutter are expected to incorporate these fixes automatically.

In the interim, users encountering platform view issues in Flutter versions 3.16 and 3.19 are advised to revert to version 3.13.x. Please refer to the official Flutter documentation and release notes for updates on this issue