Closed desmeit closed 2 years ago
solved it with
var rating = context.watch<RatingService>();
if (rating != null && rating.ratingState == RatingState.available) {
print("ratingState: " + rating.ratingState.toString());
print("rating: " + rating.rateMyApp.shouldOpenDialog.toString());
}
I want to use the rateMyApp instance everywhere in my App:
and
But I get the following error:
LateInitializationError: Field 'minimumDate' has not been initialized.
Is there a way to achieve this?