mirror of
https://github.com/flutter/packages.git
synced 2025-06-29 14:18:54 +08:00
[ci] Roll Flutter to 9b3b9cf0893d54a40c2b6f8bc6c666ee77a8afa6 (#3128)
* [ci] Roll Flutter to 9b3b9cf0893d54a40c2b6f8bc6c666ee77a8afa6 * Re-add removed line
This commit is contained in:
@ -1 +1 @@
|
||||
27f8ebdaed7078f311d456befae1c6236ba65fd8
|
||||
9b3b9cf0893d54a40c2b6f8bc6c666ee77a8afa6
|
||||
|
@ -1,5 +1,6 @@
|
||||
## NEXT
|
||||
## 0.6.13+1
|
||||
|
||||
* Adjusts code to account for nullability change in Flutter SDK.
|
||||
* Updates the example to specify the import for `DropdownMenu`.
|
||||
|
||||
## 0.6.13
|
||||
|
@ -510,7 +510,7 @@ class MarkdownBuilder implements md.NodeVisitor {
|
||||
_mergeInlineChildren(current.children, align),
|
||||
textAlign: align,
|
||||
);
|
||||
_tables.single.rows.last.children!.add(child);
|
||||
_ambiguate(_tables.single.rows.last.children)!.add(child);
|
||||
} else if (tag == 'a') {
|
||||
_linkHandlers.removeLast();
|
||||
}
|
||||
@ -859,4 +859,10 @@ class MarkdownBuilder implements md.NodeVisitor {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/// This allows a value of type T or T? to be treated as a value of type T?.
|
||||
///
|
||||
/// We use this so that APIs that have become non-nullable can still be used
|
||||
/// with `!` and `?` on the stable branch.
|
||||
T? _ambiguate<T>(T? value) => value;
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ description: A Markdown renderer for Flutter. Create rich text output,
|
||||
formatted with simple Markdown tags.
|
||||
repository: https://github.com/flutter/packages/tree/main/packages/flutter_markdown
|
||||
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_markdown%22
|
||||
version: 0.6.13
|
||||
version: 0.6.13+1
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0 <3.0.0"
|
||||
|
@ -157,7 +157,7 @@ void expectTableSize(int rows, int columns) {
|
||||
|
||||
expect(table.children.length, rows);
|
||||
for (int index = 0; index < rows; index++) {
|
||||
expect(table.children[index].children!.length, columns);
|
||||
expect(_ambiguate(table.children[index].children)!.length, columns);
|
||||
}
|
||||
}
|
||||
|
||||
@ -212,3 +212,9 @@ class TestAssetBundle extends CachingAssetBundle {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// This allows a value of type T or T? to be treated as a value of type T?.
|
||||
///
|
||||
/// We use this so that APIs that have become non-nullable can still be used
|
||||
/// with `!` and `?` on the stable branch.
|
||||
T? _ambiguate<T>(T? value) => value;
|
||||
|
Reference in New Issue
Block a user