Skip to content

Selecting 240p quality -> The getter 'inSeconds' was called on null. #28

Description

The example app. Tested with video id == 552414513. All other quality settings work.

The following NoSuchMethodError was thrown building FutureBuilder<void>(dirty, dependencies: [MediaQuery], state: _FutureBuilderState<void>#bd405):
The getter 'inSeconds' was called on null.
Receiver: null
Tried calling: inSeconds

The relevant error-causing widget was
VimeoPlayer
When the exception was thrown, this was the stack
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:54:5)
#1      _VimeoPlayerState.build.<anonymous closure>    package:vimeoplayer/vimeoplayer.dart:128
#2      _FutureBuilderState.build    package:flutter/…/widgets/async.dart:773
#3      StatefulElement.build    package:flutter/…/widgets/framework.dart:4612
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions