Skip to content

Commit 344b802

Browse files
committed
# 5.0.1
* Fix error when extends SpecialTextSpanBuilder. #30
1 parent cc43310 commit 344b802

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
# 5.0.1
2+
3+
* Fix error when extends SpecialTextSpanBuilder. #30
4+
15
# 5.0.0
26

3-
* support null-safety
7+
* Support null-safety
48

59
# 4.0.3
610

lib/src/special_text_span_builder.dart

+6-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,12 @@ abstract class SpecialTextSpanBuilder {
5555
}
5656

5757
//build SpecialText base on startflag
58-
SpecialText? createSpecialText(String flag,
59-
{TextStyle? textStyle, SpecialTextGestureTapCallback? onTap, int index});
58+
SpecialText? createSpecialText(
59+
String flag, {
60+
TextStyle? textStyle,
61+
SpecialTextGestureTapCallback? onTap,
62+
required int index,
63+
});
6064

6165
/// start with SpecialText
6266
bool isStart(String value, String startFlag) {

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: extended_text_library
22
description: package library for extended_text and extended_text_field,provide common base class.
3-
version: 5.0.0
3+
version: 5.0.1
44
homepage: https://github.com/fluttercandies/extended_text_library
55

66
environment:

0 commit comments

Comments
 (0)