Commit 473df6d6 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

dartdoc doesn't seem to support tables (#6895)

...at least not in the traditional markdown style.
So let's try HTML instead.
parent e7c2571b
......@@ -2039,9 +2039,11 @@ abstract class Element implements BuildContext {
///
/// The following table summarises the above:
///
/// | | `newWidget == null` | `newWidget != null` |
/// | `child == null` | Returns null. | Returns new [Element]. |
/// | `child != null` | Old child is removed, returns null. | Old child updated if possible, returns child or new [Element]. |
/// <table>
/// <tr><th><th>`newWidget == null`<th>`newWidget != null`
/// <tr><th>`child == null`<td>Returns null.<td>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].
/// </table>
@protected
Element updateChild(Element child, Widget newWidget, dynamic newSlot) {
if (newWidget == null) {
......
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