f_json_editor

Last updated:

0 purchases

f_json_editor Image
f_json_editor Images
Add to Cart

Description:

f json editor

f_json_editor #


Getting started #
dependencies:
f_json_editor: ^1.0.0
copied to clipboard
Usage #
import 'package:f_json_editor/f_json_editor.dart';

FJSONEditor(
title: Text("FJSON Example"),
actionCallback: (actionKey, jsonData) async {
if(actionKey == "copy"){
await Clipboard.setData(
ClipboardData(text: jsonEncode(jsonData)),
);
}
},
topActions: [
FJSONAction(
key: "copy",
icon: Icon(Icons.copy, size: 20),
label: "Copyy"
),
FJSONAction(
key: "save",
icon: Icon(Icons.save, size: 20),
label: "Save"
)
],
isEditable: true,
jsonData: {
"key1":"value1",
"key2":2,
"key3": {
"key4": "value4",
"key5": false,
"key6": [
"1",
"iki"
]
}
},
)
copied to clipboard
License #
@licence
Reference #
@SanjaySodani

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.