remove useless comments

This commit is contained in:
2024-11-07 09:49:04 +02:00
parent 70b4b430a7
commit 50452aa703

View File

@@ -132,6 +132,7 @@ class _PatientViewState extends State<PatientView> {
return MIHHeader( return MIHHeader(
headerAlignment: MainAxisAlignment.end, headerAlignment: MainAxisAlignment.end,
headerItems: [ headerItems: [
//============ Patient Details ================
Visibility( Visibility(
visible: _selectedIndex != 0, visible: _selectedIndex != 0,
child: IconButton( child: IconButton(
@@ -160,6 +161,7 @@ class _PatientViewState extends State<PatientView> {
), ),
), ),
), ),
//============ Patient Notes ================
Visibility( Visibility(
visible: _selectedIndex != 1, visible: _selectedIndex != 1,
child: IconButton( child: IconButton(
@@ -188,6 +190,7 @@ class _PatientViewState extends State<PatientView> {
), ),
), ),
), ),
//============ Patient Files ================
Visibility( Visibility(
visible: _selectedIndex != 2, visible: _selectedIndex != 2,
child: IconButton( child: IconButton(
@@ -217,41 +220,6 @@ class _PatientViewState extends State<PatientView> {
), ),
), ),
], ],
// headerItems: [
// IconButton(
// onPressed: () {
// setState(() {
// _selectedIndex = 0;
// });
// },
// icon: const Icon(
// Icons.perm_identity,
// size: 35,
// ),
// ),
// IconButton(
// onPressed: () {
// setState(() {
// _selectedIndex = 1;
// });
// },
// icon: const Icon(
// Icons.article_outlined,
// size: 35,
// ),
// ),
// IconButton(
// onPressed: () {
// setState(() {
// _selectedIndex = 2;
// });
// },
// icon: const Icon(
// Icons.file_present,
// size: 35,
// ),
// ),
// ],
); );
} }