Skip to content

Commit

Permalink
fix constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
MaTeS72 committed Jan 25, 2024
1 parent 70a866a commit 0c13682
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/src/tagger.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class FlutterTagger extends StatefulWidget {
this.triggerCharacterAndStyles = const {},
this.onFormattedTextChanged,
this.searchRegex,
required this.tagStyle,
this.triggerCharactersRegex,
this.tagTextFormatter,
this.animationController,
Expand Down Expand Up @@ -129,11 +130,7 @@ class FlutterTagger extends StatefulWidget {
///trigger character.
final Map<String, TextStyle> triggerCharacterAndStyles;

final TextStyle tagStyle = const TextStyle(
color: Colors.blue,
decoration: TextDecoration.underline,
);

final TextStyle tagStyle;
@override
State<FlutterTagger> createState() => _FlutterTaggerState();
}
Expand Down

0 comments on commit 0c13682

Please sign in to comment.