Table of Contents
Setup Essentials
Requirements for 6POS Installation
Admin (V1.8)
- PHP 8.2 or higher
- MySQL 5.7 or higher
- Laravel 12
Mobile App (V1.8)
- IDE: Android Studio latest
- Flutter SDK (3.38.5 Stable)
- Install JDK 17
- Xcode latest for IPA file build
Add New Local Language #
- Go to
/assets/languageand press the right button on the language folder and create a new file and name it with your language code (.json). For example if your language is Bengali then you have to name your file asbn.json. You have to name it with a proper and valid language code otherwise the app won’t work. To get language and country code you can visit this URL: https://docs.oracle.com/cd/E13214_01/wli/docs92/xref/xqisocodes.html - Copy all data from
en.jsonand paste it into your created file. - Translate all English text placed here after the colon(:) to your local language. There texts are in key-value formatted. You have to translate value only not key otherwise it won’t work. For example:
“home”: “Home” -> “home”: “বাড়ি” - Add your country picture on
/assets/imagefolder. - Open
/lib/util/app_constrants.dart, scroll down to the bottom and add one more LanguageModel under languages array with yourimageUrl,languageName,countryCodeandlanguageCode. Again must remember that your language code and country code should be valid otherwise app won’t work. In image url field you have to put your image path asassets/image/added_country_picture_name.extension. For example if your added country picture name isbangladesh.pngthen path will beassets/image/bangladesh.png.
TIP
Recommended tutorial is below 👇
Change App Color #
- Open
<project>/lib/theme/light_theme.dartfile and set primary, accent and etc. colours for a light theme. - In the same way open
<project>/lib/theme/dark_theme.dartfile and set preferred primary, accent and etc. color for dark theme.
TIP
Recommended tutorial is below 👇
Change App Font #
- Download you preferred font from the internet. Google has many free fonts you can check them: https://fonts.google.com/
- Unzip fonts and paste it them to
<project>/assets/font/ folder. - Mentioned them in
<project>/pubspec.yamlfile like: fonts:- family:
YOUR_FONT_FAMILY_NAMEfonts:- asset:
assets/font/YOUR_FONT_FILE_NAME.ttfweight:YOUR_FONT_WEIGHT
- asset:
- family:
- Replace the font family name in
<project>/lib/theme/light_theme.dart,<project>/lib/theme/dark_theme.dartand<project>/lib/util/styles.dartfile.

