电商应用

文档

如何使用

步骤 1

使用下面的链接下载或克隆此仓库

https://github.com/BustamanteMelkia/Tech-ecommerce-app.git

步骤 2

转到项目根目录,在控制台中执行以下命令以获取所需的依赖项

flutter pub get 

这是我们在此项目中使用的文件夹结构

lib/
|- routes/
|- screens/
|- widgets/
|- main.dart

现在,让我们深入 `lib` 文件夹,其中包含应用程序的主要代码。

1- routes — Contains all the routes of the application.
4- screens — Contains all the screens of the project.
6- widgets — Contains the common widgets for the application. For example, Button, CreditCard etc.
8- main.dart - This is the starting point of the application. All the application level configurations are defined in this file i.e, theme, routes, title, etc.

结论

如果您对这种方法有任何疑问,我们将很乐意解答。如果您想为该项目贡献力量,请随时提交 issue 和/或 pull request?

GitHub

查看 Github