FastAppRatingService class
A service class for handling app rating functionality.
Constructors
- FastAppRatingService.new(FastAppInfoDocument appInfo)
-
Creates a singleton instance of FastAppRatingService.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
askForAppReviewIfNeeded(
BuildContext context) → Future< void> - Checks if app review is needed and displays the app rating dialog if so.
-
buildRatingDialogActions(
BuildContext context, {String? validText}) → List< Widget> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldAskForAppReview(
) → Future< bool> - Checks if app review is needed.
-
showAppRatingDialog(
BuildContext context, {String? titleText, String? messageText, String? validText}) → Future< void> - Displays the app rating dialog.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ FastAppRatingService
-
The singleton instance of FastAppRatingService.
getter/setter pair