We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5b08e5 commit f7ad404Copy full SHA for f7ad404
lib/app/modules/timer/views/timer_view.dart
@@ -817,7 +817,7 @@ class TimerView extends GetView<TimerController> {
817
Visibility(
818
visible: controller.timerList.length > 2,
819
child: Positioned(
820
- top: calculateTopPosition(),
+ top: 60,
821
child: Material(
822
elevation: 5.0,
823
color: Colors.transparent,
@@ -863,14 +863,4 @@ class TimerView extends GetView<TimerController> {
863
},
864
);
865
}
866
-
867
- double calculateTopPosition() {
868
- final RenderBox? renderBox =
869
- dialogKey.currentContext?.findRenderObject() as RenderBox?;
870
- if (renderBox != null) {
871
- final position = renderBox.localToGlobal(Offset.zero);
872
- return position.dy - 100;
873
- }
874
- return 160;
875
876
0 commit comments