计算器应用程序
特点
- 计算器
- 历史
- 通过应用切换主题(深色和浅色)?
? 安卓示例
? iOS 示例
快速开始
此移动应用使用 Flutter v3.10.6 构建。您应该遵循官方文档中的说明。本项目使用 BLoC(业务逻辑组件)将业务逻辑与 UI 本身分离开。建议在开始项目之前先自行学习这里的知识。
使用 ? 构建
| 包 | Pub |
|---|---|
| collection | |
| equatable | |
| flutter_bloc | |
| hydrated_bloc | |
| material_design_icons_flutter | |
| math_expressions | |
| path_provider | |
| url_launcher | |
| build_runner | |
| flutter_gen_runner | |
| flutter_lints |
如何运行
- 克隆此项目。
- 使用您喜欢的编辑器工具打开。
- 在根项目上运行
pub get以生成 pubspec.lock 文件。 - 使用这个运行应用。祝您使用愉快!
使用命令运行应用
flutter run --dart-define appName='Calculator' --target=lib/main.dart
示例 APK
运行此项目有困难?我已包含 .apk 文件供您尝试。祝您使用愉快!
Flutter Gen
每次添加或删除资源时生成
flutter packages pub run build_runner build
作者
- Muhamad Bagus Prasetyo
别忘了关注我,Fork并给我一个⭐
许可证
MIT License
Copyright (c) 2023 Muhamad Bagus Prasetyo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.