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

Expose AnnotationEditingController and add suggestionListWidth param #105

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

adar2378
Copy link

  • Using key to find controller does not seem to be a proper way of accessing controller. We should be able to provide the controller from outside if needed.
  • Added width for suggestionList

@@ -241,6 +246,9 @@ class FlutterMentions extends StatefulWidget {
/// {@macro flutter.services.autofill.autofillHints}
final Iterable<String>? autofillHints;

final AnnotationEditingController? controller;
final Widget Function(Widget child, BoxConstraints boxConstraints)?
sugggestionContainerBuilder;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo ggg => suggestionContainerBuilder

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

Successfully merging this pull request may close these issues.

2 participants