From 4b8c6fa58627a6001220d7d084b2d147220c7cd6 Mon Sep 17 00:00:00 2001 From: DMK Date: Thu, 14 Jan 2021 12:22:33 +0300 Subject: [PATCH] New hole approach --- lib/main.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 6b7fede..0a3f069 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -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), ), ),