Update request_pane.dart

This commit is contained in:
Ankit Mahato
2025-03-29 20:33:42 +05:30
parent a562fc71a1
commit c4905a2490

View File

@ -62,11 +62,15 @@ class _RequestPaneState extends State<RequestPane>
), ),
onPressed: widget.onPressedCodeButton, onPressed: widget.onPressedCodeButton,
icon: Icon( icon: Icon(
widget.codePaneVisible ? Icons.code_off_rounded : Icons.code_rounded, widget.codePaneVisible
? Icons.code_off_rounded
: Icons.code_rounded,
size: 20, size: 20,
), ),
label: Text( label: Text(
widget.codePaneVisible ? kLabelHideCode : kLabelViewCode, widget.codePaneVisible
? kLabelHideCode
: kLabelViewCode,
textAlign: TextAlign.center, textAlign: TextAlign.center,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
maxLines: 1, maxLines: 1,