|
|
|
@ -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];
|
|
|
|
|