markdown-editable-textinput icon indicating copy to clipboard operation
markdown-editable-textinput copied to clipboard

Support for buildCounter

Open jcblancomartinez opened this issue 3 years ago • 1 comments

Hi,

I would want buildCounter support in the same way as TextField.

This implementation though would receive int currentMarkdownLength and int currentPlainTextLength.

typedef InputCounterWidgetBuilder = Widget? Function(
  BuildContext context, {
  required int currentMarkdownLength,
  required int currentPlainTextLength,
  required bool isFocused,
});

Regards.

jcblancomartinez avatar Feb 21 '22 17:02 jcblancomartinez

Hi @jcblancomartinez, maybe you can develop it and do a PR. We could add it in the future but it's not planned for now 🙂. Sorry for the answer delay.

clemenceroumy avatar May 05 '22 07:05 clemenceroumy