Skip to content

Commit

Permalink
Merge pull request #57 from santa112358/v1.0.6
Browse files Browse the repository at this point in the history
add documentation for onDetectionTyped
  • Loading branch information
santa112358 committed Dec 20, 2020
2 parents 9d1637f + 4c9b9c4 commit 1a8703a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ class _MyAppState extends State<MyApp> {
decoratedStyle: TextStyle(fontSize: 15, color: Colors.blue),
keyboardType: TextInputType.multiline,
maxLines: null,

/// Called when detection (words start with #, or # and @) is being typed
onDetectionTyped: (text) {
print(text);
},
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: hashtagable
description: Widgets and functions to implement hashtag decorated text. Decorates the words which start with `#` like a Twitter.
version: 1.0.5+1
version: 1.0.6
author: Santa Takahashi <sun.jp.0212@gmail.com>
homepage: https://github.com/santa112358/hashtagable
repository: https://github.com/santa112358/hashtagable
Expand Down

0 comments on commit 1a8703a

Please sign in to comment.