mirror of
https://github.com/foss42/apidash.git
synced 2025-12-03 03:17:00 +08:00
feat: hide view code button for now
This commit is contained in:
@@ -53,29 +53,29 @@ class _RequestPaneState extends State<RequestPane>
|
|||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.end,
|
mainAxisAlignment: MainAxisAlignment.end,
|
||||||
children: [
|
children: [
|
||||||
FilledButton.tonalIcon(
|
// FilledButton.tonalIcon(
|
||||||
style: FilledButton.styleFrom(
|
// style: FilledButton.styleFrom(
|
||||||
padding: kPh12,
|
// padding: kPh12,
|
||||||
minimumSize: const Size(44, 44),
|
// minimumSize: const Size(44, 44),
|
||||||
),
|
// ),
|
||||||
onPressed: widget.onPressedCodeButton,
|
// onPressed: widget.onPressedCodeButton,
|
||||||
icon: Icon(
|
// icon: Icon(
|
||||||
widget.codePaneVisible
|
// widget.codePaneVisible
|
||||||
? Icons.code_off_rounded
|
// ? Icons.code_off_rounded
|
||||||
: Icons.code_rounded,
|
// : Icons.code_rounded,
|
||||||
size: 18,
|
// size: 18,
|
||||||
),
|
// ),
|
||||||
label: SizedBox(
|
// label: SizedBox(
|
||||||
width: 80,
|
// width: 80,
|
||||||
child: Text(
|
// child: Text(
|
||||||
widget.codePaneVisible
|
// widget.codePaneVisible
|
||||||
? kLabelHideCode
|
// ? kLabelHideCode
|
||||||
: kLabelViewCode,
|
// : kLabelViewCode,
|
||||||
overflow: TextOverflow.ellipsis,
|
// overflow: TextOverflow.ellipsis,
|
||||||
maxLines: 1,
|
// maxLines: 1,
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user