From 0c9ee831196cbb57f1f96109f9dd8ce6bb2f37e2 Mon Sep 17 00:00:00 2001 From: zhang <494089941@qq.com> Date: Mon, 7 Dec 2020 15:13:13 +0800 Subject: [PATCH] update separate --- lib/extension/separate_extension.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/extension/separate_extension.dart b/lib/extension/separate_extension.dart index 6af2385..0a77771 100644 --- a/lib/extension/separate_extension.dart +++ b/lib/extension/separate_extension.dart @@ -1,5 +1,5 @@ import 'package:ansu_ui/ansu_ui.dart'; -extension SeparateExt on List { +extension SeparateExt on List { List sep([T separate]) { return List.generate(this.length * 2 - 1, (index) { if (index.isEven)