-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
0e4690e
commit 1241dd9
Showing
18 changed files
with
384 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/// A placeholder to be given to an `AttributedText`, and later replaced | ||
/// within an inline network image. | ||
class InlineNetworkImagePlaceholder { | ||
const InlineNetworkImagePlaceholder(this.url); | ||
|
||
final String url; | ||
|
||
@override | ||
bool operator ==(Object other) => | ||
identical(this, other) || | ||
other is InlineNetworkImagePlaceholder && runtimeType == other.runtimeType && url == other.url; | ||
|
||
@override | ||
int get hashCode => url.hashCode; | ||
} | ||
|
||
/// A placeholder to be given to an `AttributedText`, and later replaced | ||
/// within an inline asset image. | ||
class InlineAssetImagePlaceholder { | ||
const InlineAssetImagePlaceholder(this.assetPath); | ||
|
||
final String assetPath; | ||
|
||
@override | ||
bool operator ==(Object other) => | ||
identical(this, other) || | ||
other is InlineAssetImagePlaceholder && runtimeType == other.runtimeType && assetPath == other.assetPath; | ||
|
||
@override | ||
int get hashCode => assetPath.hashCode; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+77.7 KB
super_text_layout/test_goldens/goldens/SuperText-inline-widgets-alignment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+69.2 KB
super_text_layout/test_goldens/goldens/SuperText-inline-widgets-sizing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-23 Bytes
(100%)
super_text_layout/test_goldens/goldens/SuperText-reference-render.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-82 Bytes
(100%)
super_text_layout/test_goldens/goldens/SuperText-text-scale-factor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-29 Bytes
(100%)
super_text_layout/test_goldens/goldens/SuperText_layers_caret.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-78 Bytes
(100%)
super_text_layout/test_goldens/goldens/SuperText_layers_character-box-outlines.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+6 Bytes
(100%)
super_text_layout/test_goldens/goldens/SuperText_layers_character-boxes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.14 KB
(98%)
super_text_layout/test_goldens/goldens/SuperText_layers_line-boxes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-880 Bytes
(99%)
...layout/test_goldens/goldens/TextSelectionLayer_full-selection-border-radius.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-106 Bytes
(100%)
super_text_layout/test_goldens/goldens/TextSelectionLayer_full-selection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-38 Bytes
(100%)
...out/test_goldens/goldens/TextSelectionLayer_partial-selection-border-radius.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-80 Bytes
(100%)
super_text_layout/test_goldens/goldens/TextSelectionLayer_partial-selection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-26 Bytes
(100%)
super_text_layout/test_goldens/goldens/TextUnderlineLayer_paints-underline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.