diff --git a/lib/extension/separate_extension.dart b/lib/extension/separate_extension.dart index 6901d2b..9a1ed27 100644 --- a/lib/extension/separate_extension.dart +++ b/lib/extension/separate_extension.dart @@ -1,7 +1,8 @@ import 'package:ansu_ui/ansu_ui.dart'; +import 'package:flutter/material.dart'; extension SeparateExt on List { - List sep({dynamic separate}) { + List sepWidget({Widget separate}) { return List.generate(this.length * 2 - 1, (index) { if (index.isEven) return this[index ~/ 2];