Skip to content

Commit c3bd653

Browse files
committed
Moved flutter clock to clock folder
1 parent b9a15de commit c3bd653

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+15
-19
lines changed
File renamed without changes.
File renamed without changes.

clock/README.md

+9
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

lib/clock/clock.dart renamed to clock/lib/clock/clock.dart

+6-19
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,12 @@ class _ClockState extends State<Clock> {
2424
Widget build(BuildContext context) {
2525
return Scaffold(
2626
body: Center(
27-
child: Container(
28-
decoration: BoxDecoration(
29-
borderRadius: BorderRadius.circular(100),
30-
boxShadow: [
31-
BoxShadow(
32-
color: Colors.black.withOpacity(.3),
33-
blurRadius: 10,
34-
offset: Offset(0, 10),
35-
spreadRadius: 10
36-
),
37-
],
38-
),
39-
child: Transform.rotate(
40-
angle: -(ClockPainter.oneDegreeInRadian * 90),
41-
child: CustomPaint(
42-
willChange: true,
43-
size: Size.square(180),
44-
painter: ClockPainter(),
45-
),
27+
child: Transform.rotate(
28+
angle: -(ClockPainter.oneDegreeInRadian * 90),
29+
child: CustomPaint(
30+
willChange: true,
31+
size: Size.square(180),
32+
painter: ClockPainter(),
4633
),
4734
),
4835
),
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

clock/screenshots/screenshot.gif

151 KB
File renamed without changes.

0 commit comments

Comments
 (0)