Skip to content

Commit 05fca59

Browse files
author
fbchen
committed
update example
1 parent f7c0a74 commit 05fca59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/circle_position.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class CirclePositionExampleState extends State<CirclePositionExample> {
147147
percentageTranslate: true,
148148
),
149149
Text(
150-
'$hour:$minute:$second',
150+
'${hour.toString().padLeft(2, '0')}:${minute.toString().padLeft(2, '0')}:${second.toString().padLeft(2, '0')}',
151151
style: const TextStyle(
152152
fontSize: 40,
153153
),

0 commit comments

Comments
 (0)