most_key_value_editor 1.0.0 copy "most_key_value_editor: ^1.0.0" to clipboard
most_key_value_editor: ^1.0.0 copied to clipboard

Highly customizable JSON editor based on `package:most_schema_parser`.

1.0.0 #

  • BREAKING CHANGE: JsonReaderWriter renamed to JsonAccessor.
  • BREAKING CHANGE: JsonPropertyReaderWriter renamed to JsonPropertyAccessor.
  • BREAKING CHANGE: JsonAccessor is not holding command history (i.e. undo feature is temporary removed).
  • BREAKING CHANGE: MostKeyValueEditor#customBuilders replaced with 3 dedicated parameters.
  • BREAKING CHANGE: MostKeyValueEditorController:
    • has state now - EditorState.
    • is not supporting validation using FormKey.
    • has an onChangedTransformer. It can be set to ValidateCommand to validate on state changed.
    • no longer has validate/seed methods. They are replaced with EditorTransformer:
      • SeedJsonSchemaCommand.
      • SeedJsonCommand.
      • ValidateCommand.
  • BREAKING CHANGE: StringFormField renamed to StringField and saves value only on user interaction (i.e. tap).
  • BREAKING CHANGE: MostValidator renamed to EditorStateValidator.
  • Make default property inputs part of the public API:
    • ArrayPropertyInput.
    • BooleanPropertyInput.
    • EnumPropertyInput.
    • NumberPropertyInput.
    • StringPropertyInput.

0.0.2 #

  • Add MostValidator concept:
    • Allows to add custom validators to the key-value editor.
    • Validation works as before with 0 changes.
    • For the usage please refer to example/

0.0.1 #

  • Initial release.
  • Added editor:
    • Added MostKeyValueEditor
    • Added MostKeyValueEditorController
    • Added PropertyBuilder
    • Added JsonReaderWriter
    • Added JsonPropertyReaderWriter
    • Added ValidationResult
    • Added ValidationMessage
  • Added widgets:
    • Added ValuePropertyView
    • Added NestingIndicatorView
    • Added ValidationStateView
    • Added PropertyNameView
    • Added StringFormField
  • Added extensions:
    • Added LightnessColorExtension
    • Added HexColorExtension
3
likes
150
points
17
downloads

Publisher

verified publishermost.io

Weekly Downloads

Highly customizable JSON editor based on `package:most_schema_parser`.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flutter, json_diff, json_schema, most_schema_parser, recase, scrollable_positioned_list

More

Packages that depend on most_key_value_editor