Flutter UI Walkthrough — Splash

By Engineering Team•October 10, 2026•2 min read

What the shopper sees

A full-screen splash showing the tenant’s logo, app name, and short description, with two buttons underneath: “Get Started” and a secondary “Log In” link/button.

What the shopper does here

  • Waits briefly while the app loads the tenant’s branding.
  • Taps “Get Started” to create a new account, or “Log In” if they already have one.

How it’s built

SplashController is a plain two-method GetxController — onGetStarted() navigates to AppRoutes.phoneSignup, onGoToLogin() navigates to AppRoutes.login. Neither calls a repository; this screen does no network work of its own.

The branding shown is read from ThemeService.currentTenant, an Rxn<TenantConfig> that starts null and only resolves once ThemeService.loadTenantData()’s API call finishes. SplashView.build wraps its content in Obx and shows a centered CircularProgressIndicator while currentTenant.value == null, only rendering the tenant logo/name/description and the two buttons once it’s non-null — true for both the success path and the error-fallback path, since loadTenantData()’s catch also sets currentTenant.value to a hardcoded default tenant. This avoids a visible flash from default branding to the real tenant branding once the response lands.

Splash screen with tenant branding and Get Started / Log In buttons