Skip to main content

Change Onboarding Images & Text

The onboarding screen is the first thing a new user sees when they open the app. You can customize the number of pages, images, titles, and body text without touching any UI code.


Add or Remove Onboarding Pages

Open the following file in the app codebase:

lib/core/constants/app_constants.dart

Find the onboardingPages variable. Each entry in this list represents one onboarding slide. Add or remove entries here to control how many pages appear.


Change Onboarding Images

In the folder assets/images, locate the images:

onboarding_1.jpg
onboarding_2.jpg
onboarding_3.jpg

To replace an image:

  1. Prepare your new image file.
  2. Name it exactly the same as the existing file (e.g. onboarding_1.jpg).
  3. Place it at the same path in the assets folder, replacing the old file.
warning

Do not change the file name or path. The constants in app_constants.dart must continue to point to the correct file, or the image will not load.


Change Onboarding Text

The onboarding titles and descriptions are controlled via the translation file. Open:

assets/lang/en.json

Search for the following keys and update their values:

KeyUsed for
onboardingTitle1Title of slide 1
onboardingTitle2Title of slide 2
onboardingTitle3Title of slide 3
onboardingText1Body text of slide 1
onboardingText2Body text of slide 2
onboardingText3Body text of slide 3

Example:

"onboardingTitle1": "Find Your Perfect Stay",
"onboardingText1": "Browse thousands of hotels and properties at the best prices.",
warning

Only change the values — never rename the keys. The app looks up text by key name, so renaming a key will cause the text to disappear.

If you support multiple languages, apply the same value changes to each language file you added in Admin panel in Language list