mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 13:51:20 +08:00
Update request_pane.dart
This commit is contained in:
@ -62,11 +62,15 @@ class _RequestPaneState extends State<RequestPane>
|
||||
),
|
||||
onPressed: widget.onPressedCodeButton,
|
||||
icon: Icon(
|
||||
widget.codePaneVisible ? Icons.code_off_rounded : Icons.code_rounded,
|
||||
widget.codePaneVisible
|
||||
? Icons.code_off_rounded
|
||||
: Icons.code_rounded,
|
||||
size: 20,
|
||||
),
|
||||
label: Text(
|
||||
widget.codePaneVisible ? kLabelHideCode : kLabelViewCode,
|
||||
widget.codePaneVisible
|
||||
? kLabelHideCode
|
||||
: kLabelViewCode,
|
||||
textAlign: TextAlign.center,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 1,
|
||||
|
Reference in New Issue
Block a user