button size relative to screen size

main
Julian Gegner 2023-03-05 17:44:10 +01:00
parent ca10d45661
commit aaab126ec8
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class ViewFormPage extends StatelessWidget {
Container(
height: height / 8,
width: height / 8,
margin: EdgeInsets.only(bottom: height / 10),
margin: EdgeInsets.only(bottom: height * 0.08),
child: RoundAddButton(
onPressed: tasksProvider.tasks[page] == true
? () => pageProvider.swap()