Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

## [0.6.1] #21

Merged
merged 1 commit into from
Jul 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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