-
-
Notifications
You must be signed in to change notification settings - Fork 913
Closed
Description
Error Running
Hi, I just installed the latest version of this package 1.1.1
, and the build step fails with the following error below when I try to run flutter.
Error
../../flutter/.pub-cache/hosted/pub.dartlang.org/chewie_audio-1.1.1/lib/src/chewie_player.dart:99:17: Error: The method
'inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'.
- 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('../../flutter/packages/flutter/lib/src/widgets/framework.dart').
Try correcting the name to the name of an existing method, or defining a method named 'inheritFromWidgetOfExactType'.
context.inheritFromWidgetOfExactType(_ChewieAudioControllerProvider) as _ChewieAudioControllerProvider;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Use Case
Scaffold(
body: Column(
children: <Widget>[
...,
Expanded(
child: ListView(
children: [
Container(
...,
child: Html(
data: event.description,
),
),
...,
],
),
),
],
),
);
I tried out some of the older versions and found out that 0.11.1
works. Perhaps there are some configuration steps I am missing? Any help will be appreciated.
Other Info
Last Working Version: 0.11.1
Flutter Channel: master
Flutter version: 1.26.0-2.0.pre.283
Dart Version: 2.12.0
Metadata
Metadata
Assignees
Labels
No labels