BWeird Flutter 工具包!

你好!在移动开发方面,Weirder Flutter 一直很出色,我借此机会使用模板工具包使其更加出色。

这个模板工具包将以 MVC+S 结构和辅助类实现。

GetX 状态管理将被用作项目中的核心状态管理。你可以查看 GetX。它是 Flutter 中最好的状态管理之一。

结构

controllers
--- todo_controller.dart
--- user_controller.dart
--- tab_index_controller.dart 
views
--- login
------ login_view.dart
--- home
------ todo_tab
--------- todo_tab_view.dart
------ profile_tab
--------- profile_tab_view.dart
------ home_body_widget.dart
------ home_drawer_widget.dart
------ home_bottom_tab_widget.dart
------ home_view.dart 
models
--- user_model.dart
--- todo_model.dart
--- todo_model.g.dart
services
--- http_client.dart
--- user_http_services.dart
--- item_http_services.dart
shared
--- helper.dart
--- components
------ app_bar_widget.dart
------ form_text_widget.dart
--- cell
------ todo_cell_widget.dart
------ empty_cell_widget.dart
themes
--- text_style.dart
--- color.dart
constants
--- key.dart

  • 获取
  • json_annotation: ^3.1.0
  • qr_code_scanner: ^0.4.0
  • camera: ^0.8.1
  • get_storage: ^2.0.2
  • shared_preferences: ^2.0.5
  • http

特点

  • 底部标签栏
  • Drawer
  • 带有基本身份验证和令牌的 HTTP 客户端
  • 键值存储
  • MVC+S
  • 自定义字体
  • 共享组件

截图

enter image description here
enter image description here
enter image description here
enter image description here

GitHub

https://github.com/cheamseta/BWeird_Flutter_Template_Toolkit