update asoptiontile

null_safety
张萌 4 years ago
parent cb89a82819
commit 7203195114

@ -57,6 +57,7 @@ class ASOptionTile extends StatelessWidget {
padding: this.padding ?? EdgeInsets.zero, padding: this.padding ?? EdgeInsets.zero,
child: item ?? child: item ??
Column( Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: List.generate(length * 2 - 1, (index) { children: List.generate(length * 2 - 1, (index) {
final displayIndex = index ~/ 2; final displayIndex = index ~/ 2;
if (index.isEven) if (index.isEven)

Loading…
Cancel
Save