|
|
@ -27,13 +27,13 @@ class ASOptionTile extends StatelessWidget {
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return Padding(
|
|
|
|
return Material(
|
|
|
|
padding: this.padding ?? EdgeInsets.fromLTRB(10.w, 10.w, 10.w, 0),
|
|
|
|
|
|
|
|
child: Material(
|
|
|
|
|
|
|
|
color: kForegroundColor,
|
|
|
|
color: kForegroundColor,
|
|
|
|
shape: RoundedRectangleBorder(
|
|
|
|
shape: RoundedRectangleBorder(
|
|
|
|
borderRadius: BorderRadius.circular(5.w),
|
|
|
|
borderRadius: BorderRadius.circular(5.w),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
child: Padding(
|
|
|
|
|
|
|
|
padding: this.padding ?? EdgeInsets.fromLTRB(10.w, 10.w, 10.w, 0),
|
|
|
|
child: item ??
|
|
|
|
child: item ??
|
|
|
|
Column(
|
|
|
|
Column(
|
|
|
|
children: List.generate(length * 2 - 1, (index) {
|
|
|
|
children: List.generate(length * 2 - 1, (index) {
|
|
|
@ -44,7 +44,6 @@ class ASOptionTile extends StatelessWidget {
|
|
|
|
return ASDivider(indent: 14.w, endIndent: 14.w);
|
|
|
|
return ASDivider(indent: 14.w, endIndent: 14.w);
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
));
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|