@@ -193,19 +193,48 @@ class _TimerCircularProgressIndicatorTile extends StatelessWidget {
193
193
return Stack (
194
194
alignment: Alignment .center,
195
195
children: < Widget > [
196
- SizedBox (
197
- height: circleSize,
198
- width: circleSize,
199
- child: CircularProgressIndicator (
200
- strokeCap: StrokeCap .round,
201
- value: value,
202
- strokeWidth: strokeWidth,
203
- backgroundColor:
204
- Theme .of (context).colorScheme.onSurface.withValues (alpha: 0.25 ),
205
- valueColor: AlwaysStoppedAnimation <Color >(
206
- Theme .of (context).colorScheme.primary,
196
+ Stack (
197
+ alignment: Alignment .center,
198
+ children: [
199
+ Container (
200
+ width: circleSize + 20 ,
201
+ height: circleSize + 20 ,
202
+ decoration: BoxDecoration (
203
+ shape: BoxShape .circle,
204
+ border: Border .all (
205
+ color: lighten (Theme .of (context).colorScheme.surface, .3 ),
206
+ width: 2 ,
207
+ ),
208
+ ),
207
209
),
208
- ),
210
+ Container (
211
+ width: circleSize - 20 ,
212
+ height: circleSize - 20 ,
213
+ decoration: BoxDecoration (
214
+ shape: BoxShape .circle,
215
+ border: Border .all (
216
+ color: lighten (Theme .of (context).colorScheme.surface, .3 ),
217
+ width: 2 ,
218
+ ),
219
+ ),
220
+ ),
221
+ SizedBox (
222
+ height: circleSize,
223
+ width: circleSize,
224
+ child: CircularProgressIndicator (
225
+ strokeCap: StrokeCap .round,
226
+ value: value,
227
+ strokeWidth: strokeWidth,
228
+ backgroundColor: Theme .of (context)
229
+ .colorScheme
230
+ .onSurface
231
+ .withValues (alpha: 0.25 ),
232
+ valueColor: AlwaysStoppedAnimation <Color >(
233
+ Theme .of (context).colorScheme.primary,
234
+ ),
235
+ ),
236
+ ),
237
+ ],
209
238
),
210
239
// Circle button at the end of the progress
211
240
if (value > 0 )
0 commit comments