mirror of
https://github.com/foss42/apidash.git
synced 2025-08-03 02:32:28 +08:00
Add text selection to JSON previewer
This commit is contained in:
@ -333,7 +333,7 @@ class _JsonPreviewerState extends State<JsonPreviewer> {
|
||||
horizontal: 4,
|
||||
vertical: 2,
|
||||
),
|
||||
child: Text(
|
||||
child: SelectableText(
|
||||
node.isClass ? '{${node.childrenCount}}' : '[${node.childrenCount}]',
|
||||
style: kCodeStyle,
|
||||
),
|
||||
|
Reference in New Issue
Block a user