Flutter
Emoji
Flutter https://flutter.cn/
Flutter https://flutter.dev/
Packages () https://pub.dev/
Packages () https://pub.flutter-io.cn/
Android | Android 5.0 (API 21) |
iOS | iOS 12.4 |
Windows
[] Flutter (Channel stable, 3.7.0, on Microsoft Windows [ 10.0.22000.1455], locale zh-CN)
[] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.0)
[] Android Studio (version 2021.3)
[] VS Code (version 1.70.0)
macOS
[] Flutter (Channel stable, 3.7.0, on macOS 13.0 22A380 darwin-x64, locale zh-Hans-CN)
[] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[] Xcode - develop for iOS and macOS (Xcode 14.2)
[] Android Studio (version 2021.3)
[] VS Code (version 1.74.3)
Flutter Intl
Visual Studio Code: Flutter Intl
IntelliJ / Android Studio: Flutter Intl
#
#
Flutter Intl: Initialize
# Locale
Flutter Intl: Add locale
# Locale
Flutter Intl: Remove locale
...
Flutter Intl: Add locale
i18n``zh_CN
lib/l10n
arb
arb
arb
lib/config/language.dart
lib
config
language.dart #
generated # intl Flutter Intl
l10n # intl
intl_zh_CN.arb # zh_CN
......
iOS ios/Runner/Info.plist
<key>CFBundleLocalizations</key>
<array>
<string>en</string>
<string>zh_CN</string>
...
</array>
#
$ git clone https://github.com/AmosHuKe/Mood-Example.git
#
$ flutter pub get
# IDE
$ flutter run
#
$ flutter run --debug/release/profile/test
#
$ flutter clean
#
$ flutter test integration_test/app_test.dart
android # Android
app
libs # UniMPSDK
src
main
assets # UniMPSDK
apps # UniMPSDK uniapp
data # UniMPSDK
uni-jsframework-vue3.js # UniMPSDK
uni-jsframework.js # UniMPSDK
kotlin
com
example
moodexample
MainActivity.kt # Flutter Android
assets #
build #
integration_test #
app_test.dart #
ios # iOS
Runner # Runner
UniMPSDK # UniMPSDK
Apps # UniMPSDK uniapp
Core # UniMPSDK
AppDelegate_UniMPSDK.swift # UniMPSDK
AppDelegate.swift # Flutter iOS
Info.plist #
Runner-Bridging-Header.h #
Podfile #
lib #
common #
local_auth_utils.dart #
notification.dart #
utils_intl.dart #
utils.dart #
config #
language.dart #
multiple_themes.dart #
db #
database # sqflite
db.dart # sqflite
preferences_db.dart # shared_preferences
generated # intl Flutter Intl
l10n # intl
models #
services #
themes #
multiple_themes_mode #
theme_default.dart.dart #
app_theme.dart #
view_models #
views #
home #
menu_screen #
mood #
onboarding #
settings # -
laboratory #
3d # 3D
game #
unimp_miniapps # uniapp
index.dart #
statistic #
web_view # WebView
widgets #
application.dart #
home_screen.dart #
main.dart #
routes.dart #
test #
.gitignore # Git
.metadata # workspace
analysis_options.yaml # Dart
pubspec.lock #
pubspec.yaml #
UniMPSDK
iOS UniMPSDK Core/Libs
``
1 UniMPSDK_iOS
2 UniMPSDK Core/Libs
3
4 iOS
5
APP
Android
Illustration by Svetlana Tulenina from Ouch!
Open sourced under the BSD-3-Clause license.
BSD-3-Clause
AmosHuKe