Skip to main content
Infidec Marketplace logo
v1.0.0

Type to search pages and sections, e.g. “razorpay”, “package name”, “SHA”.

App Name, Icon & Splash

Rename the app, replace the logos, and generate the launcher icon and native splash screen with flutter_launcher_icons and flutter_native_splash.

App name

PlatformFileKey
Android (launcher label)android/app/src/main/AndroidManifest.xmlandroid:label="Go4Foodie"
iOS (home screen name)ios/Runner/Info.plistCFBundleDisplayName → Go4Foodie
Task switcher / web titlelib/main.dartMaterialApp.router(title: 'Go4Foodie', …)

The name Go4Foodie also appears in a few strings in the app. Search the code for Go4Foodie and replace the ones you need:

FileText
lib/features/common/profile_screen.dartFooter Go4Foodie · v1.0.0
lib/features/customer/payment_webview.dartMerchant name in the Razorpay checkout ('name': 'Go4Foodie')
lib/features/customer/checkout_screen.dartPayment description Go4Foodie order
lib/features/auth/login_screen.dartNew to Go4Foodie?
lib/features/customer/gift_cards_screen.dartTreat someone to an evening at Go4Foodie.

Logo images

All images are in mobile-app/assets/images/. Replace them with your own files. Keep the same names and aspect ratios:

FileSizeUsed for
app_icon.png1024 × 1024, no transparencyLauncher icon (Android legacy, iOS)
app_icon_fg.png1024 × 1024, transparent, logo inside the central 66 %Android adaptive icon foreground and Android 12+ splash icon
splash_logo.png1152 × 1152, transparentNative splash logo (before Android 12, and iOS)
go4foodie_logo.png / go4foodie_logo_light.png600 × 600Stacked logo (in-app splash). The _light version is for dark backgrounds
go4foodie_logo_wide.png / go4foodie_logo_wide_light.png1200 × 336Horizontal logo on the welcome, login and register screens (BrandLogo in lib/widgets/common.dart)
food_grill.jpg, food_pizza.jpg, food_salad.jpgphotosOnboarding slides and the customer home hero

The dark theme uses the _light logos, and so does the dark welcome screen.

Launcher icon

The icon is configured in pubspec.yaml:

pubspec.yaml
# Launcher icon: dart run flutter_launcher_icons
flutter_launcher_icons:
  android: true
  ios: true
  image_path: assets/images/app_icon.png
  adaptive_icon_background: "#FFFFFF"      # ← your brand background colour
  adaptive_icon_foreground: assets/images/app_icon_fg.png
  remove_alpha_ios: true

Native splash screen

pubspec.yaml
# Brand splash (white background + Go4Foodie logo): dart run flutter_native_splash:create
flutter_native_splash:
  color: "#FFFFFF"
  image: assets/images/splash_logo.png
  android_12:
    color: "#FFFFFF"
    image: assets/images/app_icon_fg.png
    icon_background_color: "#FFFFFF"
  fullscreen: false

The app keeps the native splash on screen until the first frame is ready (FlutterNativeSplash.preserve in lib/main.dart). The in-app splash then shows the stacked logo while it restores the session.

Generate

Terminal
cd mobile-app
flutter pub get
dart run flutter_launcher_icons
dart run flutter_native_splash:create

Uninstall the old app from the device and run it again. Android caches launcher icons.

Onboarding slides

Each mode shows three onboarding slides the first time it is opened (stored per mode as onboarded_<role>). The texts and images are in _slides in lib/features/onboarding/onboarding_screen.dart.

ModeSlides
CustomerOur menu · Order your way · Reserve
RestaurantLive floor · Point of sale · Service
OwnerInsights · Full control · Oversight

Currency symbol

Amounts in the app are formatted as US dollars (NumberFormat.simpleCurrency(name: 'USD') in lib/core/format.dart). If your restaurant uses another currency, change name: 'USD' there, for example to 'INR' or 'EUR'. Online payments are charged in the gateway currency set on the backend (RAZORPAY_CURRENCY, STRIPE_CURRENCY; see Environment Configuration).

Next: Change Theme →

Something unclear or out of date? Tell us. contact@infidec.com