New hole approach

This commit is contained in:
DMK
2021-01-14 12:22:33 +03:00
parent bd9855b673
commit 4b8c6fa586

View File

@@ -55,13 +55,13 @@ class MyWidget extends StatelessWidget {
color: Colors.transparent,
),
child: Align(
alignment: Alignment(-0.3, -0.8),
alignment: Alignment(-0.3, -0.8), // need to animate this
child: Container(
margin: const EdgeInsets.only(right: 4, bottom: 4),
height: 80,
width: 160,
height: 80, // need to animate this
width: 160, // need to animate this
decoration: BoxDecoration(
color: Colors.black, // Color does not matter but should not be transparent
color: Colors.black,
borderRadius: BorderRadius.circular(40),
),
),