Skip to content

Error: The getter 'initialized' isn't defined for the class 'VideoPlayerValue'. #69923

@jmagman

Description

@jmagman

Getting TAP errors from FRoB on every PR (for example, #69809)

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) {
                                  ^^^^^^^^^^^

Looks related to flutter/plugins#3165 @blasten

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: contributor-productivityTeam-specific productivity, code health, technical debt.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions