Unverified Commit 82d43b95 authored by Janice Collins's avatar Janice Collins Committed by GitHub

Use markdown table (#20721)

parent 3acc2785
...@@ -2681,11 +2681,10 @@ abstract class Element extends DiagnosticableTree implements BuildContext { ...@@ -2681,11 +2681,10 @@ abstract class Element extends DiagnosticableTree implements BuildContext {
/// ///
/// The following table summarizes the above: /// The following table summarizes the above:
/// ///
/// <table> /// | | **newWidget == null** | **newWidget != null** |
/// <tr><th><th>`newWidget == null`<th>`newWidget != null` /// | :-----------------: | :--------------------- | :---------------------- |
/// <tr><th>`child == null`<td>Returns null.<td>Returns new [Element]. /// | **child == null** | Returns null. | Returns new [Element]. |
/// <tr><th>`child != null`<td>Old child is removed, returns null.<td>Old child updated if possible, returns child or new [Element]. /// | **child != null** | Old child is removed, returns null. | Old child updated if possible, returns child or new [Element]. |
/// </table>
@protected @protected
Element updateChild(Element child, Widget newWidget, dynamic newSlot) { Element updateChild(Element child, Widget newWidget, dynamic newSlot) {
assert(() { assert(() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment