Skip to content

Commit

Permalink
Merge pull request #21 from fluttercandies/master
Browse files Browse the repository at this point in the history
## [0.6.1]
  • Loading branch information
zmtzawqlp authored Jul 19, 2019
2 parents 866fc9d + cf034e3 commit ce3a4e0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.6.1]

* Fix issue [type 'List<InlineSpan>' is not a subtype of type 'List<TextSpan>'](https://github.com/fluttercandies/extended_text/issues/20)

## [0.6.0]

* Improve codes base on v1.7.8
Expand Down
2 changes: 1 addition & 1 deletion lib/src/extended_render_paragraph.dart
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class ExtendedRenderParagraph extends RenderBox
OverFlowTextSpan _overFlowTextSpan;
final TextOverflow _oldOverflow;
OverFlowTextSpan get overFlowTextSpan => _overFlowTextSpan;
set overFlowTextSpan(TextSpan value) {
set overFlowTextSpan(OverFlowTextSpan value) {
if (value != _overFlowTextSpan) {
if (value != null) {
overflow = TextOverflow.clip;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/over_flow_text_span.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class OverFlowTextSpan extends TextSpan {
return typedOther.text == text &&
typedOther.style == style &&
typedOther.recognizer == recognizer &&
listEquals<TextSpan>(typedOther.children, children);
listEquals<InlineSpan>(typedOther.children, children);
}

@override
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: extended_text
description: extended official text to quickly build special text like inline image or @somebody,it also provide custom background,custom over flow.
version: 0.6.0
version: 0.6.1
author: zmtzawqlp <[email protected]>
homepage: https://github.com/fluttercandies/extended_text

Expand All @@ -11,7 +11,7 @@ dependencies:
flutter:
sdk: flutter

extended_text_library: ^0.4.2
extended_text_library: 0.4.2

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit ce3a4e0

Please sign in to comment.