A simple structure of a Flutter project that uses bloc architecture to help you maintain your source code easily with a clean and scalable architecture.
Follow these steps to launch your project:
- Extract the archive release file and open the folder with your Editor (Android studio, VS Code,...)
- Go to
assets/images
and replace thelogo.jpg
file with your own (it must have the same name and the same extension) - In flutter console, go to project folder then run these two commands:
flutter pub get flutter pub run flutter_launcher_icons:main
- Open
lib/presentation/languages/l10n/intl_en.arb
and replaceapp_title
field with your app title - In
lib/utils/constants.dart
updatecolorHex
constant with your main app color and colorSecondary with your secondary color - (Optional) In
lib/presentation/styles/styles.dart
you can edit other style properties of your app.
- In
android/app/build.gradle
look fornamespace
inandroid
block and change its value with your package name - In
android/app/build.gradle
look forapplicationId
indefaultConfig
block and change its value with your package name - In
android/app/src/main/kotlin/dev/lyabs/structure/MainActivity.kt
replacedev.lyabs.structure
with your package name - In
android/app/src/main/AndroidManifest.xml
replace the value ofandroid:label
with your app name
- In
ios/Runner/Info.plist
replace value ofCFBundleName
with your own (only lower case letters separated by '_' allowed) - In
ios/Runner/Info.plist
replace value ofCFBundleDisplayName
with your app name - Review XCode project settings:
- In Xcode, open
Runner.xcworkspace
in your app’sios
folder - To view your app’s settings, select the Runner project in the Xcode project navigator. Then, in the main view sidebar, select the Runner target
- Select the
General
tab and replaceBundle Identifier
by your own value - Select the
Signing & Capabilities
tab and replaceBundle Identifier
by your own value
- In Xcode, open
- In
web/index.html
replace the value oftitle
tag with your web app name - In
web/index.html
replace the value of meta description content with a description of your app<meta name="description" content="YOUR_APP_DESCRIPTION">
- In
web/manifest.json
replace values ofname, short_name, theme_color, description,
with your own
Enjoy Developing with IT! 😊