I am trying to integrate the rate_my_app package with my flutter app. I have tried all the versions and the same problem occurs: cant find parameter onRatingChanged.I need to create a pop-up rating dialog and I don't mind using any other packages or classes or fix this one, I also get this error after using the code provided by rate_my_app
The following NoSuchMethodError was thrown attaching to the render tree: I/flutter (13365): The getter 'millisecondsSinceEpoch' was called on null. I/flutter (13365): Receiver: null I/flutter (13365): Tried calling: millisecondsSinceEpoch
My Code in main.dart
RateMyApp rateMyApp = RateMyApp(
preferencesPrefix: 'rateMyApp_',
minDays: 1,
minLaunches: 1,
);
@override
void initState() {
super.initState();
if(rateMyApp.shouldOpenDialog){
rateMyApp.showRateDialog(context,title: 'hii', message: 'please like');
}