Documentation
(Android - iOS) with Laravel Admin Panel
- Created: 17 Jun, 2024
- Update: 17 Jun, 2024
If you have any questions that are beyond the scope of this help file,
Please feel free to email via Item Support Page.
Getting Started
Introduction to Flutter
Tools & Setup
Flutter & Dart SDK (We have used Flutter version 1.20)
Anyone IDE Visual Studio Code (VSCode) (Recommended) Android Studio , or IntelliJ IDEA
To edit this project you must have Flutter and Dart installed and configured successfully on your computer.
Set up your editor – Install the Flutter and Dart plugins.
If you have got Android SDK installed and configured, to install Flutter you only need to:
- Download Flutter SDK from official website and extract it.
- Add path to previously extracted SDK to your PATH variable
- Run flutter doctor tool to check if everything is configured correctly.
- All above steps are mentioned here: https://flutter.dev/docs/get-started/install/
How to Setup Flutter in Visual Studio Code – macOS
Step 1 : Get the Flutter SDK
- Download the following installation bundle to get the latest stable release of the Flutter SDK:
- Download SDK and extract downloaded file, just double click on that. and just copy extracted folder and paste it to your desired location (for example, Documents\flutter).
Step 2 : Update your path
IMPORTANT NOTE Path variable needs to be updated to access “flutter” command from terminal. you can just update path variable for current terminal window only. and if you want to access flutter commands from anywhere in terminal, we need to update SDK path permanently.
To update PATH variable, we need to open terminal
To update PATH variable for current terminal window only, then enter this command “export PATH=”$PATH:`pwd`/flutter/bin”” and hit enter key.
To update PATH variable permanently, then Open or create .bash_profile file. to open or create that file, then enter “sudo open -e $HOME/.bash_profile” and hit enter key.
Append below line to bash_profile file at bottom of all other content. “export PATH=”$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin”” as [PATH_TO_FLUTTER_GIT_DIRECTORY] is actual path of SDK folder.
Run this command on terminal “source $HOME/.bash_profile” to refresh PATH variables.
Then check whether our SDK is successfully installed or not.
You are now ready to run Flutter commands in the Flutter Console!
Run “flutter doctor” into terminal, If you are getting check list of flutter sdk requirements, it means SDK is successfully installed on your machine. and you can start building flutter apps on your machine
If you find any issue during environment setup in macos, please go online Click here
How to Setup Flutter in Visual Studio Code – Windows
- Download Visual Studio Code – https://code.visualstudio.com/download
- Download Xcode – https://apps.apple.com/us/app/xcode/id497799835?mt=12
- Get the Flutter SDK – https://flutter.dev/docs/get-started/install
- Learn more about Visual Studio Code – https://docs.flutter.dev/development/tools/vs-code
Step 1 : Get the Flutter SDK
- Download the following installation bundle to get the latest stable release of the Flutter SDK:
- Extract the zip file and place the contained flutter in the desired installation location for the Flutter SDK (for example, C:\src\flutter; do not install Flutter in a directory like C:\Program Files\ that requires elevated privileges).
Step 2 : Update your path
If you wish to run Flutter commands in the regular Windows console, take these steps to add Flutter to the PATH environment variable:
From the Start search bar, enter ‘env’ and select Edit environment variables for your account. Under User variables check if there is an entry called Path:
- If the entry exists, appendthe full path to flutter\bin using ; as a separator from existing values.
- If the entry doesn’t exist, create a new user variable named Path with the full path to flutter\bin as its value.
IMPORTANT NOTE You have to close and reopen any existing console windows for these changes to take effect.
You are now ready to run Flutter commands in the Flutter Console!
Step 3 : Run flutter doctor
From a console window that has the Flutter directory in the path (see above), run the following command to see if there are any platform dependencies you need to complete the setup:
C:\src\flutter>flutter doctor
If you find any issue during environment setup in windows, please go online Click here
How to Setup Flutter in Visual Studio Code – Linux
- Download Visual Studio Code – https://code.visualstudio.com/download
- Download Xcode – https://apps.apple.com/us/app/xcode/id497799835?mt=12
- Get the Flutter SDK – https://flutter.dev/docs/get-started/install
- Learn more about Visual Studio Code – https://docs.flutter.dev/development/tools/vs-code
Step 1 : Get the Flutter SDK
- Download the following installation bundle to get the latest stable release of the Flutter SDK:
- Download SDK and extract downloaded file, just double click on that. and just copy extracted folder and paste it to your desired location (for example, Documents\flutter).
Step 2 : Update your path
IMPORTANT NOTE Path variable needs to be updated to access “flutter” command from terminal. you can just update path variable for current terminal window only. and if you want to access flutter commands from anywhere in terminal, we need to update SDK path permanently.
You’ll probably want to update this variable permanently, so you can run flutter commands in any terminal session. To update PATH variable, we need to open terminal.
export PATH="$PATH:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin"
- Run source $HOME/. to refresh the current window, or open a new terminal window to automatically source the file.
- Verify that the flutter/bin directory is now in your PATH by running:
echo $PATH
Verify that the flutter command is available by running:
which flutter
You are now ready to run Flutter commands in the Flutter Console!
How to Setup Flutter & Dart in Visual Studio Code
Build & Run
Follow below steps to build and run your application.
Download Project From Codecanyon
Please follow below step
- Please Login on codecanyon - Click Here To Login
- Please Download From codecanyon - Click Here To Download Purchase code
How to Open Project On VSCODE & Run on Android Device
How to Run App on iOS Device?
How to Open Project on Xcode & Change Package Name and App Name for iOS ?
- Launch Xcode.
- Click on "Open another project" or go to File > Open and navigate to the project directory. Select the .xcodeproj or .xcworkspace file to open the project.
Changing the Package Name (Bundle Identifier)
The package name in iOS is referred to as the Bundle Identifier.
- Select the Project in the Navigator: In the left sidebar (Project Navigator), click on the project name at the top.
- Select the Target: In the main workspace area, under the PROJECT and TARGETS sections, ensure your project is selected.
- Go to the General Tab: Select the General tab.
- Change the Bundle Identifier: In the Identity section, find the Bundle Identifier field and modify it to your desired package name. The format should be something like com.yourcompany.yourapp.
- Display Name Tab: In the Identity section, find the Display Name field to change the of your Application.
- App Category Tab: You can also choose the app category from the category list.
Now, go to the Signing & Capabilities Tab: Select the Signing & Capabilities tab.
- Bundle Identifier: Confirm that the new bundle identifier you set earlier is displayed here.
How to change AppName - Package Name on Android App ?
- Locate the build.gradle file for your app module.
- Find the applicationId property and update it to the new package name(E.g. com.yourapp.packagename).
- Now, go into the kotlin folder where MainActivity.kt file is located.
- Change the package name to com.yourapp.packagename.
Update the AndroidManifest.xml in src folder
- Go to the src/debug/AndroidManifest.xml
- Update the package attribute at the top of the file to the new package name(E.g. com.yourapp.packagename).
Update the AndroidManifest.xml in profile folder
- Go to the src/profile/AndroidManifest.xml
- Update the package attribute at the top of the file to the new package name(E.g. com.yourapp.packagename).
Update Package References
- Go to the res folder, inside that you'll see the AndroidManifest.xml file.
- Change the <application/ android:lable = "Put your App name here"
How to Change App Icon for Android and iOS?
How to Config Firebase on Flutter App ?
Admin Panel Configuration
How to Create Signed APK - AppBundle - Keystore file on VSCODE?
Get Dependencies
After you loaded project successfully, run the following command in the terminal to install all the dependencies listed in the pubspec.yaml file in the project’s root directory or just click on Pub get in pubspec.yaml file if you don’t want to use command..
flutter pub get
IMPORTANT NOTE Restart VSCODE if the errors are still persists OR Run below command on terminal
flutter clean
flutter pub get
FAQ
A FAQ is a list of frequently asked questions (FAQs) and answers on a particular topic.
Yes app is in Flutter Platform.
Yes, It have a well formated documentation
Source & Credits
Support
If this documentation doesn't answer your questions, So, Please create a Ticket on HelpDesk
We are located in GMT +5:30 time zone and we answer all questions within 12-24 hours in weekdays (Working Days - Monday To Friday) . In some rare cases the waiting time can be to 48 hours. (except holiday seasons which might take longer).
NOTE: While we aim to provide the best support possible, please keep in mind that it only extends to verified buyers and only to issues related to our template like bugs and errors. Custom modifications or third party module implementations are not included.
Don’t forget to Rate this template
Please Add your Review (Opinion) for Our template. It would be a great support for us.
Go to your Codecanyon Profile > Downloads Tab > & then You can Rate & Review for our template.
Thank You.
More Templates
Changelog
See what's new added, changed, fixed, improved or updated in the latest versions.
For Future Updates Follow Us @codecanyon / @linkedin.
- Version 1.0 (17 Jun, 2024)
- Initial Release