fix(icon): fix icon placement.

This commit is contained in:
Liat Ben-Haim 2024-04-02 15:34:28 +02:00
parent 77418d216f
commit 459f19c567

View file

@ -23,7 +23,7 @@ class DataEntryPage extends StatelessWidget {
onPressed: () {}, onPressed: () {},
style: ElevatedButton.styleFrom( style: ElevatedButton.styleFrom(
shape: CircleBorder(), shape: CircleBorder(),
padding: EdgeInsets.all(24), padding: EdgeInsets.all(12),
), ),
child: const Icon(Icons.error_outline, size: 120,), child: const Icon(Icons.error_outline, size: 120,),
), ),
@ -34,7 +34,7 @@ class DataEntryPage extends StatelessWidget {
onPressed: () {}, onPressed: () {},
style: ElevatedButton.styleFrom( style: ElevatedButton.styleFrom(
shape: CircleBorder(), shape: CircleBorder(),
padding: EdgeInsets.all(24), padding: EdgeInsets.all(12),
), ),
child: const Icon(Icons.notifications_paused_sharp, size: 120,), child: const Icon(Icons.notifications_paused_sharp, size: 120,),
), ),
@ -57,7 +57,7 @@ class DataEntryPage extends StatelessWidget {
onPressed: () {}, onPressed: () {},
style: ElevatedButton.styleFrom( style: ElevatedButton.styleFrom(
shape: CircleBorder(), shape: CircleBorder(),
padding: EdgeInsets.all(24), padding: EdgeInsets.all(12),
), ),
child: const Icon(Icons.electric_bolt, size: 120,), child: const Icon(Icons.electric_bolt, size: 120,),
), ),
@ -69,7 +69,7 @@ class DataEntryPage extends StatelessWidget {
onPressed: () {}, onPressed: () {},
style: ElevatedButton.styleFrom( style: ElevatedButton.styleFrom(
shape: CircleBorder(), shape: CircleBorder(),
padding: EdgeInsets.all(24), padding: EdgeInsets.all(12),
), ),
child: const Icon(Icons.medication_outlined, size: 120,), child: const Icon(Icons.medication_outlined, size: 120,),
), ),