Ten

Ten Package 是一个高效的 Flutter 工具包,含有常用的组件,节省开发时间。包括封装好的分页钩子(hooks),还能提供一系列常用的 Widget 扩展,提升开发体验。 A set of Flutter component libraries based on UX-first principles

Ten 做了什么

What did it do?

  • 快速搭建精美 UI 组件:利用预先设计好的组件模板,轻松构建出符合设计规范的用户界面。

  • 便捷的分页钩子(hooks):封装常用的分页逻辑,简化数据分页的实现过程,提升应用的流畅度和用户体验。

  • 常用 Widget 扩展:提供多种常用的 Widget 扩展方法,减少重复代码编写,提升开发效率。

  • Rapidly build beautiful UI components: Utilize pre-designed component templates to easily build a user interface that meets design specifications.

  • Convenient Paging Hooks: Encapsulate commonly used paging logic, simplify the process of data paging, and improve the smoothness of the application and user experience.

  • Common Widget Extensions: Provide a variety of common widget extension methods to reduce repetitive code writing and improve development efficiency.

如何使用

How to use? 在 dependencies: 部分的 pubspec.yaml 中添加更改应用程序软件包名称。 Add Change App Package Name to your pubspec.yaml in dependencies: section.

dependencies:
    ten: ^lateVersion

or run this command

flutter pub add ten

Update dependencies

flutter pub get

示例

examples 全部使用示例 请查看 example See all usage examples to example

接口类可以直接调用

Interface classes can be called directly

贡献

GitHub 项目初步规划设计,为了帮助开发者减少代码编写量。 若需使用于项目, 请选择 版本号为 x.x.0 的 稳定版。

Preliminary project planning and design, in order to help developers reduce the amount of code written. If you want to use it for your project, please choose the stable version x.x.0.

仓库地址 https://github.com/lm83680/ten

Libraries

style/index
ten