operator []= method
Implementation
void operator []=(int index, ChildType child) {
if (index < 0) {
throw ArgumentError(index);
}
_removeChild(_childRenderObjects[index]);
adoptChild(child);
_childRenderObjects[index] = child;
}
void operator []=(int index, ChildType child) {
if (index < 0) {
throw ArgumentError(index);
}
_removeChild(_childRenderObjects[index]);
adoptChild(child);
_childRenderObjects[index] = child;
}