AppConstants class
A collection of styling parameters, routes, and asset URLs.
Constructors
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
Constants
- backgroundHelp → const String
- Asset URL for the header background in the help screen.
- backgroundLeaderboard → const String
- Asset URL for the header background in the leaderboard screen.
- backgroundWallet → const String
- Asset URL for the header backround in the wallet screen.
- cardBlue → const String
- Asset URL for the blue card used for displaying requests.
- cardOrange → const String
- Asset URL for the orange card used for displaying requests.
- cardRed → const String
- Asset URL for the red card used for displaying requests.
- decimalPointsAfterNumber → const int
- Indicates the number of decimal points to be shown on numbers (such as wallet values).
- fontAccountCard → const double
- Size 16 - Used for the text in cards in the account screen.
- fontAddonItemCount → const double
- Size 64 - Used for the number of add-ons selected in the request update screen.
- fontAddonItemTitle → const double
- Size 16 - Used for the title of an add-on in the request update screen.
- fontAppbarDuty → const double
- Size 18 - Used for the duty text in the appbar.
- fontAppbarGreeting → const double
- Size 26 - Used for the greeting in the appbar.
- fontAssignmentMaximized → const double
- Size 18 - Used for the assignment text in the maximuzed displays of requests.
- fontAssignmentRegular → const double
- Size 16 - Used for the assignment text in the regular displays of requests.
- fontBottomTabItem → const double
- Size 12 - Used for the labels on the buttons in the bottom tab bar.
- fontDialogDescription → const double
- Size 16 - Used for dialog descriptions.
- fontDialogTitle → const double
- Size 20 - Used for dialog titles.
- fontFamilyHelvetica → const String
- The name of the Helvetica font family.
- fontFamilyNunito → const String
- The name of the Nunito font family.
- fontHomeSectionTitle → const double
- Size 18 - Used for the section titles in the home screen ('TIPS' and 'RECENT ACTIVITY').
- fontLanguageCard → const double
- Size 16 - Used for the text in cards in the language screen.
- fontLarge → const double
- Size 20.
- fontLargePlus → const double
- Size 21.
- fontLargeX → const double
- Size 22.
- fontLargeXPlus → const double
- Size 23.
- fontLargeXX → const double
- Size 24.
- fontLargeXXPlus → const double
- Size 25.
- fontLargeXXX → const double
- Size 26.
- fontLargeXXXPlus → const double
- Size 27.
- fontLeaderboardCard → const double
- Size 20 - Used for the text in the leaderboard placement cards.
- fontLogin → const double
- Size 24 - Used for the text in the log-in screen.
- fontMedium → const double
- Size 16.
- fontMediumPlus → const double
- Size 17.
- fontMediumX → const double
- Size 18.
- fontMediumXPlus → const double
- Size 19.
- fontRequestButtonMaximizedAccepted → const double
- Size 18 - Used for the button text in the maximized displays of accepted requests.
- fontRequestButtonMaximizedAssigned → const double
- Size 18 - Used for the button text in the maximized displays of open/assigned requests.
- fontRequestButtonRegular → const double
- Size 20 - Used for the button text in the regular displasy of all requests.
- fontRequestValueDollarSign → const double
- Size 28 - Used for the dollar sign in request displays.
- fontRequestValueMaximized → const double
- Size 70 - Used for the value/reward in the maximized displays of requests.
- fontRequestValueRegular → const double
- Size 66 - Used for the value/reward in the regular displays of requests.
- fontRoomNumberMaximized → const double
- Size 32 - Used for the room number in the maximized displays of requests.
- fontRoomNumberRegular → const double
- Size 42 - Used for the room number in the regular displays of requests.
- fontScreenTitle → const double
- Size 32 - Used for screen titles.
- fontServiceTypeTitle → const double
- Size 18 - Used for the title of service types in the request update screen.
- fontSmall → const double
- Size 14.
- fontSmallPlus → const double
- Size 15.
- fontSmallX → const double
- Size 12.
- fontSmallXPlus → const double
- Size 13.
- fontToastMessage → const double
- Size 16 - Used for the text in toast messages.
- fontWalletCard → const double
- Size 16 - Used for the value in the wallet activity displays (wallet and home screen).
- fontWalletPlacement → const double
- Size 19 - Used for the leaderboard placement in the wallet screen.
- fontWalletValue → const double
- Size 48 - Used for the wallet value in the wallet screen.
- heightBackgroundHeaderMultiplier → const double
- The percentage of the screen's height allocated for the height of header backgrounds (wallet, leaderboard, and help screens).
- heightBottomBar → const double
- The height of the bottom bar (excluding the Home/Helen button which extends above the bottom bar).
- iconAccount → const String
- Asset URL for the account icon used in the bottom bar.
- iconHelen → const String
- Asset URL for the Helen icon used in the bottom bar.
- iconHelp → const String
- Asset URL for the help icon used in the bottom bar.
- iconLeaderboard → const String
- Asset URL for the leaderboard icon used in the bottom bar.
- iconStar → const String
- Asset URL for the red star icon in the leaderboard screen.
- iconWallet → const String
- Asset URL for the wallet icon used in the bottom bar.
- iconWalletPurple → const String
- Asset URL for the purple wallet icon used for articles/tips.
- logo → const String
- Asset URL for the Helen logo (Helen icon with a styled 'Helen' underneath it).
- paddingGeneral → const double
- 15 - Used for general padding to keep widgets away from the screen's edges.
- patientStatus → const String
- qrConcierge → const String
- qrLocation → const String
- qrPatientApp → const String
- Asset URL for the QR used to download the patient app (Google Store).
- routeAppSkeleton → const String
- Route for the main app skeleton.
- routeAuthenticationSkeleton → const String
- Route for the authentication skeleton.
- spaceAvoidBottomBar → const double
- The space between the last widget in a page and the top of the bottom bar (top of Helen icon).
- spaceBeforeTitle → const double
- The space between a screen title and the top edge of the screen.