Flutter Configuration

Estimated reading: 1 minute 474 views
NOTE
  1. The Section 

Changing the App's Name

  • For User app
    •  In the main directory go to the lib -> configs.dart
const APP_NAME = 'YOUR APP NAME';
const APP_NAME_TAG_LINE = 'YOUR APP TAG LINE'; (Used only for user app)

Changing the Default Language

  • For User app
    •  In the main directory go to the lib -> configs.dart
const DEFAULT_LANGUAGE = "LANGUAGE CODE" ; (eg. "en","ar","de","pt","es")

Reconfiguring the Server URL

  • For User app
    •  In the main directory go to the lib -> configs.dart
const DOMAIN_URL = "ADD YOUR BASE URL" ;

Changing the App Font

  • For User app
    • In the main directory go to the lib -> app_theme.dart
fontFamily: GoogleFonts.FONT_NAME().fontFamily,

Changing Primary Color

  • For User app
    •  In the main directory go to the lib -> configs.dart
var defaultPrimaryColor = Color(0xFF5F60B9);

Changing About Us URL

  • For User app
    •  In the main directory go to the lib -> configs.dart
const TERMS_CONDITION_URL = 'YOUR_URL_HERE';
const PRIVACY_POLICY_URL = 'YOUR_URL_HERE';
const HELP_SUPPORT_URL = 'YOUR_URL_HERE';

Leave a Comment

Share this Doc

Flutter Configuration

Or copy link

CONTENTS