Grocery-App
Flutter 购物应用(移动应用、Web 应用)
- 星标
- 1143
- 复刻
- 517
- 最近推送(UTC)
- 2023年4月7日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
grocery_app
Become a financial contributor -
Table of Contents
- System Requirements
- Figma design guidelines for better accuracy
- App Navigations
- Project Structure
- How you can do code formatting?
- How you can improve the readability of code?
- Libraries and tools used
- Support
System Requirements
Dart SDK Version 2.17.0 or greater. Flutter SDK Version 3.0.0 or greater.
Design System for better accuracy
App Navigations
Check your app's UI from the AppNavigation screen of your app.
Project Structure
After successful build, your application structure should look like this:
.
├── android - contains files and folders required for running the application on an Android operating system.
├── assets - contains all images and fonts of your application.
├── ios - contains files required by the application to run the dart code on iOS platforms.
├── lib - Most important folder in the project, used to write most of the Dart code.
├── main.dart - starting point of the application
├── core
│ ├── app_export.dart - contains commonly used file imports
│ ├── constants - contains all constants classes
│ ├── errors - contains error handling classes
│ ├── network - contains network related classes
│ └── utils - contains common files and utilities of project
├── data
│ ├── apiClient - contains API calling methods
│ ├── models - contains request/response models
│ └── repository - network repository
├── localization - contains localization classes
├── presentation - contains all screens and screen controllers
│ └── screens - contains all screens
├── routes - contains all the routes of application
└── theme - contains app theme and decoration classes
└── widgets - contains all custom widget classes
How you can do code formatting?
- if your code is not formatted then run following command in your terminal to format code
dart format .
How you can improve the readability of code?
Resolve the errors and warnings that are shown in the application.
Libraries and tools used
- get - State management https://pub.dev/packages/get
- connectivity_plus - For status of network connectivity https://pub.dev/packages/connectivity_plus
- shared_preferences - Provide persistent storage for simple data https://pub.dev/packages/shared_preferences
- cached_network_image - For storing internet image into cache https://pub.dev/packages/cached_network_image
Support
Connect to Widle Studio Team.
语言DartRubySwiftKotlinObjective-C
分类
使用的依赖
依赖清单 12 项
- flutter
{"sdk":"flutter"} - get
^4.6.5 - connectivity_plus
^2.3.6 - shared_preferences
^2.0.15 - cached_network_image
^3.2.1 - flutter_svg
^0.22.0 - dotted_border
2.0.0+1 - intl
^0.17.0 - permission_handler
^10.0.0 - images_picker
^1.2.11 - url_launcher
6.0.20 - flutter_test开发依赖
{"sdk":"flutter"}
所在榜单
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗