mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Specs: remove vestiges of 'with ChildNode'
Review URL: https://codereview.chromium.org/945533002
This commit is contained in:
parent
b0ef81ac95
commit
4591cace16
@ -197,7 +197,7 @@ class tagname extends AutomaticMetadata {
|
||||
}
|
||||
}
|
||||
|
||||
abstract class Element extends ParentNode with Node {
|
||||
abstract class Element extends ParentNode {
|
||||
external Element({Map<String, String> attributes: null,
|
||||
List children: null,
|
||||
Module hostModule: null}); // O(M+N), M = number of attributes, N = number of children nodes plus all their descendants
|
||||
@ -240,7 +240,7 @@ abstract class Element extends ParentNode with Node {
|
||||
}
|
||||
}
|
||||
|
||||
class Text extends Node with Node {
|
||||
class Text extends Node {
|
||||
external Text([String value = '']); // O(1)
|
||||
|
||||
external String get value; // O(1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user