protobuf_message_editor 0.1.0 copy "protobuf_message_editor: ^0.1.0" to clipboard
protobuf_message_editor: ^0.1.0 copied to clipboard

An editor widget for protobuf GeneratedMessage instances

0.1.0 #

  • Refactored custom message editors to decouple the editor content widget from field expansion or navigation logic.
  • Provided CustomEditorProvider and SubmessageBuilder down the widget tree via Provider to simplify propagation.

Breaking changes: #

  • CustomEditorRegistry has been largely abstracted into the CustomEditorProvider interface.
  • customEditorRegistry properties has been renamed to customEditorProvider and accepts the new interface.
  • submessageBuilder property now receives a content widget instead of just the submessage itself.
  • ProtoNavigationState and its nodes now track fieldInfo alongside messages in their stack.

0.0.5 #

  • Add AnyEditor for editing google.protobuf.Any messages
  • Add AnyEditorRegistry for managing available message types for AnyEditor

Breaking changes: #

  • SubmessageBuilder typedef has been updated to include parentMessage and onRebuildRequested parameters.
  • Add copy-to-edit button for frozen submessages

0.0.4 #

Added support for google.protobuf.BoolValue via a default custom editor registry

0.0.3 #

Added missing exports relevant to custom field editors

0.0.2 #

ProtoDualPanelMessageEditor can now accept a root message instead of a ProtoNavigationState. When used this way, the widget will create an internally managed ProtoNavigationState.

0.0.1 #

Initial release

0
likes
140
points
113
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

An editor widget for protobuf GeneratedMessage instances

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, fixnum, flutter, intersperse, protobuf, provider

More

Packages that depend on protobuf_message_editor