- Login
- Dashboard
- Call (Audio/Video)
- People
- User Profile
- people Profile
- Chat
- Story
- Call
- Chat
- Active contacts/In-active contacts
- Dashboard
- Search
- Login
- Profile
- Story
- Settings
- Conversations
Follow the steps below to install Flutter on your system:
-
Operating System:
- Windows: Windows 7 or later (64-bit)
- macOS: macOS 10.14 (Mojave) or later
- Linux: Any recent 64-bit distribution
-
Disk Space:
- At least 1.64 GB of free disk space (excluding IDE/tools).
-
Tools:
- Git (to clone the Flutter repository).
- For Windows: PowerShell 5.0 or newer, Git for Windows.
-
Visit the official Flutter SDK download page and download the appropriate SDK for your operating system:
-
Extract the downloaded
.zip
file to a suitable location, for example:- Windows:
C:\src\flutter
- macOS/Linux:
$HOME/flutter
- Windows:
-
Open System Properties > Advanced > Environment Variables.
-
Under User variables, select the
Path
variable and click Edit. -
Add the
bin
folder path inside the Flutter directory:C:\src\flutter\bin
-
Open your terminal and edit the bash_profile or zshrc file
nano ~/.bash_profile # or ~/.zshrc
-
Add the following line at the end of the file:
export PATH="$PATH:`pwd`/flutter/bin"
-
Save and close the file, then run
source ~/.bash_profile # or source ~/.zshrc
-
Open your terminal or command prompt.
-
Run the following command to check if Flutter is correctly installed
For Android development, you’ll need to install Android Studio.
- Download and install Android Studio.
- During installation, select the option to install:
- Android SDK
- Android SDK Platform-Tools
- Android SDK Build-Tools
- Open Android Studio, go to Settings > Plugins, and install the Flutter and Dart plugins.
- Ensure that the Android SDK path is correctly set:
- Go to File > Project Structure > SDK Location and set the Android SDK location.
For iOS development, you’ll need to install Xcode.
-
Download and install Xcode from the Mac App Store.
-
Open Xcode and agree to the terms of the license agreement.
-
Install the necessary development tools by running the following command:
sudo xcode-select --install
-
Ensure Xcode command-line tools are correctly installed
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
If you prefer VS Code as your code editor:
- Download and install Visual Studio Code.
- Open VS Code and go to the Extensions panel (View > Extensions).
- Install the Flutter and Dart extensions.
Now that everything is set up, you can create a new Flutter project.
-
Open the terminal or command prompt.
-
Run the following command to create a new project:
flutter create my_app
-
Navigate to your project directory
cd my_app
-
Run the project on an emulator or connected device
flutter run
1. Go to icon.kitchen: Visit - icon.kitchen
- Upload a high-quality image (preferably 1024x1024 pixels) for your app icon.
- You can configure the icon appearance, padding, and background color as needed. Choose between "iOS", "Android", or both, depending on the platforms you want to target.
- Once the customization is done, click on the download button to get the icon files in a .zip format. The file will contain the icons for both iOS and Android in the correct sizes.
android/app/src/main/res/
mipmap-hdpi
mipmap-mdpi
mipmap-xhdpi
mipmap-xxhdpi
mipmap-xxxhdpi
2. Copy the icon files from these folders and replace the corresponding ones in your Flutter project’s
res/ directory.
Ensure that the correct launcher icon is referenced in your AndroidManifest.xml. This is usually located in
-
android/app/src/main/AndroidManifest.xml
Check for the following line:<application
android:icon="@mipmap/ic_launcher" />
ios/Runner/Assets.xcassets/AppIcon.appiconset/
- In the extracted folder from icon.kitchen, you will find an AppIcon.appiconset folder for iOS.
- Copy all files from this folder into your Flutter project’s ios/Runner/Assets.xcassets/AppIcon.appiconset/ directory, replacing any existing files.
Ensure your Info.plist
(found at ios/Runner/Info.plist) correctly points to your new icon set:
<key>CFBundleIconName</key>
<string>AppIcon</string>
- Run the following command to clean the project:
flutter clean
flutter build apk
flutter run
To add or change a splash screen in a Flutter app, follow these steps for both Android and iOS platforms.
The easiest way to create a splash screen in Flutter is by using the flutter_native_splash
package.
-
Add the
flutter_native_splash
package to yourpubspec.yaml
file:dev_dependencies: flutter_native_splash: ^2.2.18
-
Run the following command to install the package:
flutter pub get
Configure the splash screen by adding settings to your pubspec.yaml
file under the flutter_native_splash
section:
flutter_native_splash: color: "#ffffff" # Background color of the splash screen image: assets/splash.png # Path to your splash screen image android: true # Enable splash screen for Android ios: true # Enable splash screen for iOS web: false # Disable for web (optional)
- Add your splash screen image to the assets folder of your project. If the folder doesn't exist, create it.
-
Place your image inside the assets/ folder:
assets/logo.png
-
Declare the asset in your
pubspec.yaml
file:flutter: assets: - assets/logo.png
Run the following command to generate the splash screen configuration for Android and iOS:
flutter pub run flutter_native_splash:create
To remove any change :
flutter pub run flutter_native_splash:remove
Clean the project to ensure there’s no cache interference:
flutter clean && flutter run
- To change any kind of dimension or padding or radius you can use the following code snippet:
core/shared/dimension.dart
1.To change theme colors you can use the following code snippet:
core/shared/theme/scheme.dart
2.To toggle theme mode you can use the following code snippet:
-
core/shared/theme/theme_bloc.dart
-
change theme type in
theme_state.dart
-
change enum named as
ThemeType{light,dark}