NavigatorUtils class

Utility class for navigation-related actions, such as opening URLs, sharing the app, and launching the Play Store or email client.

This class cannot be instantiated.

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

openPlayStore({String packageName = ''}) Future<void>
Opens the app’s page in the Google Play Store.
openUrl(String input) Future<void>
Opens a given URL string in the device’s external application.
sendEmailFeedback() Future<void>
Opens the email client with a prefilled feedback email.
shareApp() Future<void>
Shares the app link via supported sharing apps.
showPaidVersion() Future<void>
Opens the paid version of the app in the Google Play Store.