z_ui 0.0.2 copy "z_ui: ^0.0.2" to clipboard
z_ui: ^0.0.2 copied to clipboard

At present, it is the secondary packaging of layout ui that needs to be used in the development process, adding some convenient development methods, and so on.

功能说明 #

目前是一些开发过程中需要用到的布局ui的二次封装,增加一些方便开发的方法等

安装方法 #

引用 #

pubspec.yaml文件dependencies:下增加以下内容引用:

z_ui:  
    git:  
        url: https://github.com/zrbyhelp/z_ui_flutter.git  

安装 #

通过命令行安装该内容  
$ pub get
..

使用方法 #

Row超集ZRow #

void main() {
  ///根据[spacing]长度分割内容的Row方法
  ZRow.withSpacing(spacing: 12.2, children: []);

  //根据[separated]组件分割内容的Row方法
  ZRow.withSeparated(separated: SizedBox(width:10), children: []);
}

Column超集ZColumn #

void main() {
  ///根据[spacing]长度分割内容的Column方法
  ZColumn.withSpacing(spacing: 12.2, children: []);

  //根据[separated]组件分割内容的Column方法
  ZColumn.withSeparated(separated: SizedBox(width:10), children: []);
}

附加信息 #

关于项目 #

目前处于需求收集阶段,如果有什么需要实现的相关功能,欢迎提交问题与提交分支.xiexie.

作者:zr #

1
likes
130
pub points
0%
popularity

Publisher

verified publisherzrzr.link

At present, it is the secondary packaging of layout ui that needs to be used in the development process, adding some convenient development methods, and so on.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on z_ui