zenled / calendar_views

Collection of customisable calendar related widgets for Flutter.
https://pub.dartlang.org/packages/calendar_views
MIT License
102 stars 49 forks source link

Updated issue with Flutter #28

Open m8iog opened 3 years ago

m8iog commented 3 years ago

Renamed inheritFromWidgetOfExactType to dependOnInheritedWidgetOfExactType

I don't know if you've had this issue, but it helped me to continue to use this package, so thought I'd share it. Thanks for an awesome package BTW!

hcaz commented 3 years ago

Anybody who needs it before then can add to dependency_overrides in their pubspec.yaml

dependency_overrides:
  calendar_views: #https://github.com/zenled/calendar_views/pull/28 The method 'inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'
    git: https://github.com/m8iog/calendar_views.git