Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for buildCounter #18

Open
jcblancomartinez opened this issue Feb 21, 2022 · 1 comment
Open

Support for buildCounter #18

jcblancomartinez opened this issue Feb 21, 2022 · 1 comment

Comments

@jcblancomartinez
Copy link

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.

@clemenceroumy
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants