Closed taojoe closed 2 years ago
Hi,
not sure what's the official reason for the API.
Just in case you can do something along those lines:
ZefyrEditor(
controller: controller,
focusNode: focusNode,
embedBuilder: (context, node) => yourEmbedBuilder(context, node, controller),
),
Hi,
not sure what's the official reason for the API.
Just in case you can do something along those lines:
ZefyrEditor( controller: controller, focusNode: focusNode, embedBuilder: (context, node) => yourEmbedBuilder(context, node, controller), ),
Thanks, it's good.
Great. Lets close then.
😁
make ZefyrEmbedBuilder add ZefyrController as third parameter, so the embed builder can change itself by controller.
it's required when building a image cropper or image resizer.