Skip to content

Commit

Permalink
# 5.0.1
Browse files Browse the repository at this point in the history
* Fix error when extends SpecialTextSpanBuilder. #30
  • Loading branch information
zmtzawqlp committed Mar 7, 2021
1 parent cc43310 commit 344b802
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# 5.0.1

* Fix error when extends SpecialTextSpanBuilder. #30

# 5.0.0

* support null-safety
* Support null-safety

# 4.0.3

Expand Down
8 changes: 6 additions & 2 deletions lib/src/special_text_span_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,12 @@ abstract class SpecialTextSpanBuilder {
}

//build SpecialText base on startflag
SpecialText? createSpecialText(String flag,
{TextStyle? textStyle, SpecialTextGestureTapCallback? onTap, int index});
SpecialText? createSpecialText(
String flag, {
TextStyle? textStyle,
SpecialTextGestureTapCallback? onTap,
required int index,
});

/// start with SpecialText
bool isStart(String value, String startFlag) {
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: extended_text_library
description: package library for extended_text and extended_text_field,provide common base class.
version: 5.0.0
version: 5.0.1
homepage: https://github.com/fluttercandies/extended_text_library

environment:
Expand Down

0 comments on commit 344b802

Please sign in to comment.