Merge branch 'master' of 192.168.2.201:laiiihz/ansu_ui

* 'master' of 192.168.2.201:laiiihz/ansu_ui:
  update separate
  update separate
  update separate
  update separate
  update separate
  update separate extension
null_safety
小赖 4 years ago
commit 2c41a716e1

@ -42,3 +42,4 @@ export 'extension/separate_extension.dart';
//`BOTTOM` is external lib
export 'package:flutter_screenutil/flutter_screenutil.dart';
export 'package:flutter_easyrefresh/easy_refresh.dart';

@ -2,7 +2,7 @@ import 'package:ansu_ui/ansu_ui.dart';
import 'package:flutter/material.dart';
extension SeparateExt on List {
List sep([Widget separate]) {
List<Widget> sepWidget({Widget separate}) {
return List.generate(this.length * 2 - 1, (index) {
if (index.isEven)
return this[index ~/ 2];

Loading…
Cancel
Save