flutter_rust_bridge
Flutter/Dart <-> Rust 绑定生成器,功能丰富,但无缝且简单
一个使用 Flutter 构建的适用于 iOS 和 Android 的开源粤语词典
Flutter/Dart <-> Rust 绑定生成器,功能丰富,但无缝且简单
一个 Flutter 插件,用于使用 Google 的 ML Kit 数字墨水识别功能,在数百种语言中识别数字表面上的手写文本,以及对草图进行分类。
Supabase 的 Flutter 集成。此包使开发人员能够轻松构建安全且可扩展的产品。
v3.0.1几分钟内为 Flutter 应用创建原生设置。使用单一接口进行构建
v4.0.0适用于 Flutter 应用的介绍/引导包,支持部分自定义选项
一个用于观察 ScrollView 中显示的子部件相关数据的部件。
v1.1.4进化的 Overlay/OverlayEntry - 声明式而非命令式,直观的上下文,以及简单的对齐方式
用于在 Android 和 iOS 上发现软键盘可见性状态的 Flutter 插件。
用于处理外部函数接口(FFI)代码的工具。
使用 LibClang 解析 C、Objective-C 和 Swift 文件的 FFI 绑定生成器。
Amazon Cognito Identity 的 AWS API 客户端(从 SDK API 规范生成)。
用于 Amazon Simple Queue Service 的 AWS API 客户端(从 SDK API 规范生成)。
{"sdk":"flutter"}{"sdk":"flutter"}^2.6.0^2.0.0^2.3.6^0.9.37^6.2.6^0.19.0^6.0.5^1.1.4^0.17.1^2.2.0^0.1.19^6.0.0^6.0.0^0.13.0^2.0.2^1.0.5^7.0.1^3.1.12^11.1.0^2.1.0^2.1.0^2.3.3^1.8.3^0.0.2^2.0.0^2.0.0^4.4.0^0.6.0^11.1.1^2.4.1^4.8.1{"path":"rust_builder"}^14.6.0^0.1.6^1.19.0^2.0.9^8.1.1^6.0.3^8.2.0^6.0.3^0.7.1^1.10.0^0.11.0^2.0.1{"sdk":"flutter"}^5.0.0^1.17.10^0.14.1{"git":{"url":"https://github.com/AlienKevin/flutter_launcher_name","ref":"0.11.1"}}^16.0.0^2.4.7—^2.4.5{"sdk":"flutter"}^1.2.2以下为英文项目原文快照,最新内容请访问 GitHub。
words.hk dictionary for Android and iOS
wordshk app logoDownload on the App Store Get it on Google Play Explore it on AppGallery Get it on F-Droid
Install Flutter by following the official doc: https://docs.flutter.dev/get-started/install
Download and install Android Studio to develop for Android: https://developer.android.com/studio
Start Android Studio, and go through the ‘Android Studio Setup Wizard’. This installs the latest Android SDK, Android SDK Command-line Tools, and Android SDK Build-Tools, which are required by Flutter when developing for Android.
Run flutter doctor to confirm your installation is working. You should see some output like below.
At a minimum you should have [✓] Flutter and [✓] Android toolchain to develop for Android, the other check marks are optional.
[✓] Flutter (Channel stable, 3.19.3, on Ubuntu 20.04.6 LTS 6.2.0-1019-azure, locale C.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
...
[✗] Linux toolchain - develop for Linux desktop
...
[!] Android Studio (not installed)
[✓] Connected device (1 available)
[✓] Network resources
If you want to build for iOS, you are required to use a Mac. You will need the latest version of Xcode as well.
Run the setup.sh at the root of this project to install the Rust backend.
Run flutter run to run the app, or
flutter build appbundle to create an Android app bundleflutter build apk to build an Android APKflutter build ios to build for iOSNotes:
flutter build appbundle --flavor fossflutter build appbundle --flavor huaweiflutter build appbundle --flavor fullpubspec.yamlexamples/export_sqlite_db/src/main.rs:- api.export_dict_as_sqlite_db(&dict_path, "{old_version}")
+ api.export_dict_as_sqlite_db(&dict_path, "{new_version}")
dict.db.gz:cd export_sqlite_db/
cargo run --release
gzip app_tmp/dict.db
Copy the two files back to this project. Copy the dict.db.gz back to assets/.dict.json by going to examples/export_json_dict and run cargo run --release
b. Copy the generated app_tmp/dict.json to project root
c. Generate TTS by going to tts/, activate conda environment conda activate wordshk, and run python tts.py
d. Upload newly generated audios to Alicloud OSS bucket by running python upload_to_bucket.pyflutter clean
flutter pub get
cd ios/
pod install
cd ..
# Go to Xcode and Product -> Archive
flutter build appbundle --flavor full
Open Adobe Audition, run the "Match Loudness" with these settings:
Export the files with matched loudness With export settings as follows:
Change directory into assets/jyutping_female or assets/jyutping_male.
Run process_audios.sh. This script does three things:
Software: Copyright (C) 2022 Xiang Li, licensed under the MIT license. Dictionary: Copyright (C) 2014-2022 Hong Kong Lexicography Limited.
"words.hk", "wordshk", "粵典" are trade names of Hong Kong Lexicography Limited. Permission by Hong Kong Lexicography Limited must be obtained to promote or distribute materials containing these names. In particular, notwithstanding any permission (if applicable) to redistribute the source code of this project and/or its derivative works by the copyright owner(s), unless you obtain explicit permission from Hong Kong Lexicography Limited, you are required to remove all mentions of "words.hk", "wordshk", "粵典" from your redistributions.
The dictionary contents published by words.hk is copyrighted by Hong Kong Lexicography Limited. You may be eligible to obtain a license from https://words.hk/base/hoifong/