UI class

Constructors

UI()

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

cardListTile(IconData icon, Color iconColor, String title, {String subtitle = "", void onTap()?, Widget? trailing = const Icon(CupertinoIcons.right_chevron)}) Widget
DailyLimitRemainingCard(int dailyLimit, int remaining, String message, {Color color = Colors.blue}) Widget
proButton({Color color = Colors.purple}) Widget
rewardedButton(String title, void onPressed(), {IconData icon = Icons.star, Color color = Colors.blue}) ElevatedButton
showDialog(String title, String message) → void
showDialogWithWidgets({Widget? title, Widget? message, Widget? buttonLabel, Function? onSubmit}) → void
showErrorDialog(String message, {String title = ""}) → void
showErrorToast(String message) → void
showFirstTimeDialog(String title, String message) → void
showRateDialog(String iosAppID, {double minRatingToSubmit = 3, Function? onSubmit}) → void
showSuccessDialog(String message, {String title = ""}) → void
showSuccessToast(String message) → void