@@ -130,6 +130,9 @@ class _SubscriptionListHeader extends StatelessWidget {
130
130
131
131
final String label;
132
132
133
+ static final _line = Expanded (child: Divider (
134
+ color: const HSLColor .fromAHSL (0.2 , 240 , 0.1 , 0.5 ).toColor ()));
135
+
133
136
@override
134
137
Widget build (BuildContext context) {
135
138
return SliverToBoxAdapter (
@@ -138,8 +141,7 @@ class _SubscriptionListHeader extends StatelessWidget {
138
141
child: Row (crossAxisAlignment: CrossAxisAlignment .center,
139
142
children: [
140
143
const SizedBox (width: 16 ),
141
- Expanded (child: Divider (
142
- color: const HSLColor .fromAHSL (0.2 , 240 , 0.1 , 0.5 ).toColor ())),
144
+ _line,
143
145
const SizedBox (width: 8 ),
144
146
Padding (
145
147
padding: const EdgeInsets .symmetric (vertical: 7 ),
@@ -152,8 +154,7 @@ class _SubscriptionListHeader extends StatelessWidget {
152
154
height: (16 / 14 ),
153
155
))),
154
156
const SizedBox (width: 8 ),
155
- Expanded (child: Divider (
156
- color: const HSLColor .fromAHSL (0.2 , 240 , 0.1 , 0.5 ).toColor ())),
157
+ _line,
157
158
const SizedBox (width: 16 ),
158
159
])));
159
160
}
0 commit comments