|
|
@@ -37,10 +37,10 @@ class WidgetFactory { |
|
|
|
if (widgetCreaters.containsKey(name)) { |
|
|
|
creater = widgetCreaters[name]; |
|
|
|
List<Widget> result = []; |
|
|
|
if (type == WidgetType.normal) |
|
|
|
// if (type == WidgetType.normal) |
|
|
|
result = creater.createWidgets(model); |
|
|
|
else |
|
|
|
result = creater.createSkeleton(model); |
|
|
|
// else |
|
|
|
// result = creater.createSkeleton(model); |
|
|
|
if (isSliver) { |
|
|
|
if (creater.isSliverChild()) { |
|
|
|
return result; |
|
|
|