Open ajaygautam opened 4 years ago
This is due to the new Page class from flutter. The plugin owner must change the name of its Page class. I can make a pr in the next days.
Or alternatively, one can specify where to get the definition of "Page" using the as
import prefix. Avoiding naming conflicts with Flutter is discussed here: https://github.com/flutter/flutter/issues/34395
Change:
import 'utils/all.dart';
To:
import 'utils/all.dart' as Utils;
and add Utils.
to specify that the following value is found in the utils/all.dart
path.
Change values such as:
Widget _monthPageBuilder(BuildContext context, DateTime month) {
return new Page.forMonth(
month: month,
);
}
To:
Widget _monthPageBuilder(BuildContext context, DateTime month) {
return new Utils.Page.forMonth(
month: month,
);
}
Resolved with #26
Cloned repo, opened sample project in Android studio. Tried to run it... fails...
Flutter doctor: