# iMath **Repository Path**: yabipi/i-math ## Basic Information - **Project Name**: iMath - **Description**: 数学宝典app, 采用Flutter开发 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-03-06 - **Last Updated**: 2026-03-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # imath 数学宝典app 数学宝典是一款寻找数学之美的教育软件,它集成了大量的数学资料和题库。提供数学不同级别、不同分支的知识库,学习方法,和题库。涵盖高中联赛、高考以及考研的各类试卷。软件能采用刷题和浏览模式帮助爱好者沉浸式学习,能测试自己的数学水平,以等级分排名方式知道自己定位。软件能方便导入各类数学试卷,提供扫描识题。支持各类数学公式的完美显示。此外,软件文章功能收集整理了数学各个分支的前沿动态,提供点赞,收藏功能。 数学宝典是一款寻找数学之美的工具软件,它集成了大量的数学资料和题库。软件能采用刷题和浏览模式帮助爱好者沉浸式学习,自测数学水平,培养数学思维,享受数学之美的熏陶。 重温数学是一款寻找数学之美的工具软件,它集成了大量的数学资料和题库。提供沉浸式学习,自测数学水平,培养数学思维,享受数学之美的熏陶。 63D4FCABAD6508A7E83E8E8C0AB6A042 com.icool.gaussmath ### 更新 setState(() { if(widget.categoryId != _categoryId) { _loadMoreQuestions(categoryId: widget.categoryId); } }); # Run Android studio里设置additional run args: --dart-define-from-file=.env/dev.json **Web 浏览器运行**:若出现 `Failed to fetch canvaskit.js`(无法访问 gstatic.com),在 additional run args 中追加:`--no-web-resources-cdn`(Flutter 3.32+ 已移除 `--web-renderer`,用此参数将 CanvasKit 打包到本地) ## 图标和启动图 flutter pub run flutter_launcher_icons flutter pub run flutter_native_splash:create # 构建 flutter run --flavor staging --dart-define=HOST="test" flutter run --flavor staging --dart-define-from-file=.staging.json flutter build ios --release --flavor staging --dart-define-from-file=.staging.json flutter build apk --release --flavor staging --dart-define-from-file=.staging.json ## 运行 - flutter run -d web-server - flutter run -d web-server --web-port 8080 - flutter run -d web-server --web-port 8080 --dart-define=ENV=local - flutter run -d chrome - flutter run -d chrome --release ## Flutter指引 This project is a starting point for a Flutter application. A few resources to get you started if this is your first Flutter project: - [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) - [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) For help getting started with Flutter development, view the [online documentation](https://docs.flutter.dev/), which offers tutorials, samples, guidance on mobile development, and a full API reference. ## 安装依赖 flutter pub add markdown_widget flutter_screenutil: ^5.9.3 cached_network_image cupertino_icons ## 构建 - flutter build apk - flutter build ios - flutter build macos - flutter build windows - flutter build web - flutter pub get # 获取依赖 - ./gradlew clean assembleRelease 应用签名:63d4fcabad6508a7e83e8e8c0ab6a042 ## 运行 - flutter run - flutter run --dart-define=ENV=DEV - flutter build apk --dart-define=ENV=production // debug 模式(使用 chrome 浏览器) flutter run -d chrome --web-renderer html // debug 模式(使用 edge 浏览器) flutter run -d edge --web-renderer html // debug 模式(不指定浏览器) flutter run -d web-server --web-renderer html // release 包 flutter build web --web-renderer html ### web方式运行 flutter build web pm2 start -n iMath python -- -m http.server 8000 ## 启动画面 dart run flutter_native_splash:create ## 依赖组件 ### Math相关组件 - https://github.com/shahxad-akram/flutter_tex: A Flutter Package to render Mathematics, Physics and Chemistry Equations based on LaTeX - https://github.com/simpleclub/flutter_math: Fork of flutter_math addressing compatibility problems while flutter_math is not being maintained. - https://github.com/xushengs/flutter_markdown_latex - https://gitlab.com/testapp-system/katex_flutter - https://github.com/djade007/latext ### HTML相关 - webview_flutter和flutter_inappwebview - flutter_html ### 图片图像 - https://github.com/hnvn/flutter_image_cropper/tree/master?tab=readme-ov-file - https://github.com/Yalantis/uCrop - ## 认证 - https://pub.dev/packages/dart_jsonwebtoken ## 其它 - https://github.com/jahnli/awesome-flutter-plugins - https://github.com/RxReader/alipay_kit - https://github.com/RxReader/wechat_kit - https://github.com/OpenFlutter/fluwx