change refresh Icon size from 25 to 20

This commit is contained in:
2024-11-07 10:14:28 +02:00
parent 83994ff199
commit 95b850f7ab

View File

@@ -101,7 +101,7 @@ class _PatientManagerState extends State<PatientManager> {
style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold), style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold),
), ),
IconButton( IconButton(
iconSize: 25, iconSize: 20,
icon: const Icon( icon: const Icon(
Icons.refresh, Icons.refresh,
), ),
@@ -504,37 +504,91 @@ class _PatientManagerState extends State<PatientManager> {
return MIHHeader( return MIHHeader(
headerAlignment: MainAxisAlignment.end, headerAlignment: MainAxisAlignment.end,
headerItems: [ headerItems: [
IconButton( //============ Waiting Room ================
onPressed: () { Visibility(
setState(() { visible: _selectedIndex != 0,
_selectedIndex = 0; child: IconButton(
}); onPressed: () {
}, setState(() {
icon: const Icon( _selectedIndex = 0;
Icons.people, });
size: 35, },
icon: const Icon(
Icons.people,
size: 35,
),
), ),
), ),
IconButton( Visibility(
onPressed: () { visible: _selectedIndex == 0,
setState(() { child: IconButton.filled(
_selectedIndex = 1; onPressed: () {
}); setState(() {
}, _selectedIndex = 0;
icon: const Icon( });
Icons.check_box_outlined, },
size: 35, icon: const Icon(
Icons.people,
size: 35,
),
), ),
), ),
IconButton( //============ My Patient List ================
onPressed: () { Visibility(
setState(() { visible: _selectedIndex != 1,
_selectedIndex = 2; child: IconButton(
}); onPressed: () {
}, setState(() {
icon: const Icon( _selectedIndex = 1;
Icons.search, });
size: 35, },
icon: const Icon(
Icons.check_box_outlined,
size: 35,
),
),
),
Visibility(
visible: _selectedIndex == 1,
child: IconButton.filled(
onPressed: () {
setState(() {
_selectedIndex = 1;
});
},
icon: const Icon(
Icons.check_box_outlined,
size: 35,
),
),
),
//============ Patient Lookup ================
Visibility(
visible: _selectedIndex != 2,
child: IconButton(
onPressed: () {
setState(() {
_selectedIndex = 2;
});
},
icon: const Icon(
Icons.search,
size: 35,
),
),
),
Visibility(
visible: _selectedIndex == 2,
child: IconButton.filled(
onPressed: () {
setState(() {
_selectedIndex = 2;
});
},
icon: const Icon(
Icons.search,
size: 35,
),
), ),
), ),
], ],