You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error: The getter 'initialized' isn't defined for the class 'VideoPlayerValue'. #69923
DartSummary action:
ERROR: third_party/dart/flutter/examples/gallery/flutter/lib/demo/video_demo.dart:109
The getter 'initialized' isn't defined for the type 'VideoPlayerValue'. #undefined_getter
ERROR: third_party/dart/flutter/examples/gallery/flutter/lib/demo/video_demo.dart:114
The getter 'initialized' isn't defined for the type 'VideoPlayerValue'. #undefined_getter
ERROR: third_party/dart/flutter/examples/gallery/flutter/lib/demo/video_demo.dart:181
The getter 'initialized' isn't defined for the type 'VideoPlayerValue'. #undefined_getter
video_demo.dart:109:44: Error: The getter 'initialized' isn't defined for the class 'VideoPlayerValue'.
- 'VideoPlayerValue' is from 'package:video_player/video_player.dart'
Try correcting the name to the name of an existing getter, or defining a getter or field named 'initialized'.
_initialized = widget.controller.value.initialized;
^^^^^^^^^^^
video_demo.dart:114:66: Error: The getter 'initialized' isn't defined for the class 'VideoPlayerValue'.
- 'VideoPlayerValue' is from 'package:video_player/video_player.dart'
Try correcting the name to the name of an existing getter, or defining a getter or field named 'initialized'.
final bool controllerInitialized = widget.controller.value.initialized;
^^^^^^^^^^^
video_demo.dart:181:35: Error: The getter 'initialized' isn't defined for the class 'VideoPlayerValue'.
- 'VideoPlayerValue' is from 'package:video_player/video_player.dart'
Try correcting the name to the name of an existing getter, or defining a getter or field named 'initialized'.
if (!controller.value.initialized) {
^^^^^^^^^^^
Reacted by Muhammad Aqib, francochau, IntoTheElements, Gunasekhar Ravilla, cuongvue, sara-elbanna, Omar Sherif, gianlucaparadise, Felicia Eponou, Kristiyan Dobrev and 1 more
Reacted by ehabwalied262, Muhammad Aqib, Omar Sherif and Kristiyan Dobrev
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
blasten commentedon Nov 5, 2020
yeah. that should be fixed now. Let me know if you are still seeing it.
jmagman commentedon Nov 5, 2020
I don't think FRoB can handle the downstream change, my failing cl reverted your fix https://critique-ng.corp.google.com/cl/340912149/depot/google3/third_party/dart/flutter/examples/gallery/flutter/lib/demo/video_demo.dart
Not sure if we just want to chalk this up to FRoB doing the best it can, but this being a weird case @renyou
lionuncle commentedon Mar 24, 2021
use
isInitializedinstead ofinitializedCaseyHillers commentedon Mar 8, 2022
Closing as this seems fixed. Feel free to reopen if this is still happening.
github-actions commentedon Mar 22, 2022
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.