formated export in json editor
This commit is contained in:
@@ -459,7 +459,7 @@ class _JsonEditorState extends State<JsonEditor> {
|
|||||||
|
|
||||||
void copyData() async {
|
void copyData() async {
|
||||||
await Clipboard.setData(
|
await Clipboard.setData(
|
||||||
ClipboardData(text: jsonEncode(_data)),
|
ClipboardData(text: JsonEncoder.withIndent(' ').convert(_data)),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user