?FluCommerce – 一个Flutter电商应用 – UI?

Twitter Badge GitHub DaymaManish Gmail Badge

Instagram LinkedIn Buy Me A Coffee

如果您喜欢更多 Flutter 相关内容,请在仓库中点⭐!

给您看一些截图?

Flutter 入门?

由 Manish Dayma 制作,饱含爱意❤️

这是Flutter应用程序的文档。它包含了您入门和修改您的应用程序所需的所有信息。

目录

系统要求

Dart SDK 版本 2.17.0 或更高版本。Flutter SDK 版本 3.0.0 或更高版本。

项目结构

.
├── 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

您如何格式化代码?

  • 如果您的代码未格式化,请在终端中运行以下命令来格式化代码
    dart format .
    

如何提高代码的可读性?

解决应用程序中显示的错误和警告。

使用的库和工具

支持

Buy Me A Coffee

GitHub

查看 Github