1 Change app icon with your e-commerce logo:

  • Generate icon from appicon.co
  • Go to /android/app/src/main/res and replace all mipmap folder with your generated icon android folder.
  • Go to /ios/Runner and replace Assets.xcassets with your generated Assets.xcassets folder.

Or

Icons

1- Create your app icon ic_launcher and notification icon notification_icon folders How to generate an app icon? After you generate icons folder replace the following folders:

  • /mipmap-hdpi in /android/app/src/main/res/ folder
  • /mipmap-mdpi in /android/app/src/main/res/ folder
  • /mipmap-xhdpi in /android/app/src/main/res/ folder
  • /mipmap-xxhdpi in /android/app/src/main/res/ folder
  • /mipmap-xxxhdpi in /android/app/src/main/res/ folder

2 Change app name with your e-commerce name:

  • Open /android/app/src/main/AndroidManifest.xml and change label with your e-commerce name.

    image

  • Open /ios/Runner/info.plist and change CFBundleName string with your e-commerce name.

    image

3 Change app package

  • Right click on project folder and click on replace in path

    image

  • Write com.u6amtech.flutter_restaurant in 1st marked box and write your own package name at second marked box and then click on Replace All button.

    image

4 Set your base url

  • Open /lib/utill/app_constrants.dart and replace BASE_URL variable value with your own url.

    image

5 Add your local language:

  • Go to /assets/language and press right button on language folder and create new file and name it with your language code (.json)

    image

  • Copy all data from en.json and paste it in your created file.

  • Translate all English text placed here after colon(:) to your local language.

  • Copy your country picture and paste it on /assets/image.

  • Open /lib/utill/app_constrants, scroll down to bottom and add LanguageModel with imageUrl, languageName, countryCode and languageCode.

    image

6 Add firebase for push notification:

  • Create your own firebase project from https://console.firebase.google.com/ and also add an android app there with your own package name and app name.

  • Then click register app and download google-services.json file from there.

  • Then copy that file and paste and replace it in /android/app folder.

    image

  • To change your notification icon with your app icon, first make your icon image totally white.

  • Rename it as notification_icon.png.

  • Then paste it in /android/app/src/main/res/drawable and replace it with existing one.

    image

    7 Set app color:

  • Open to /lib/theme/light_theme.dart and change primaryColor field value with your prepared color code. You can also change other color from here.

  • You must have to set color for dark theme also from /lib/theme/dark_theme.dart

    image

    8 Next step is to deploy your app on playStore & appStore

  • To publish the app on playStore follow the instructions in the link below

  • To publish the app on appStore follow the instructions in the link below