Compiler message:
../flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sticky_header-0.4.2/lib/src/widgets/sliver_sticky_header.dart:60:56: Error: The method 'dependOnInheritedWidgetOfExactType' 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 'dependOnInheritedWidgetOfExactType'.
final _StickyHeaderControllerScope scope = context.dependOnInheritedWidgetOfExactType<_StickyHeaderControllerScope>();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compiler failed on /Users/phillzou/code_workspace/flutter/flutter-things-todo/lib/main.dart
Error launching application on iPhone 11 Pro Max.
Compiler message: ../flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_sticky_header-0.4.2/lib/src/widgets/sliver_sticky_header.dart:60:56: Error: The method 'dependOnInheritedWidgetOfExactType' isn't defined for the class 'BuildContext'.