feat: hide view code button for now

This commit is contained in:
Udhay-Adithya
2025-09-24 21:00:39 +05:30
parent b286e34578
commit 92ea46c519

View File

@@ -53,29 +53,29 @@ class _RequestPaneState extends State<RequestPane>
child: Row(
mainAxisAlignment: MainAxisAlignment.end,
children: [
FilledButton.tonalIcon(
style: FilledButton.styleFrom(
padding: kPh12,
minimumSize: const Size(44, 44),
),
onPressed: widget.onPressedCodeButton,
icon: Icon(
widget.codePaneVisible
? Icons.code_off_rounded
: Icons.code_rounded,
size: 18,
),
label: SizedBox(
width: 80,
child: Text(
widget.codePaneVisible
? kLabelHideCode
: kLabelViewCode,
overflow: TextOverflow.ellipsis,
maxLines: 1,
),
),
),
// FilledButton.tonalIcon(
// style: FilledButton.styleFrom(
// padding: kPh12,
// minimumSize: const Size(44, 44),
// ),
// onPressed: widget.onPressedCodeButton,
// icon: Icon(
// widget.codePaneVisible
// ? Icons.code_off_rounded
// : Icons.code_rounded,
// size: 18,
// ),
// label: SizedBox(
// width: 80,
// child: Text(
// widget.codePaneVisible
// ? kLabelHideCode
// : kLabelViewCode,
// overflow: TextOverflow.ellipsis,
// maxLines: 1,
// ),
// ),
// ),
],
),
),