Add Load Internal Class Support

This commit is contained in:
pengfei.zhou
2020-09-05 11:14:22 +08:00
committed by osborn
parent 6a09c583fc
commit a5ca58c38a
8 changed files with 61 additions and 84 deletions

View File

@@ -32,6 +32,17 @@ class MultiPanelDemo extends Panel {
navigator(context).push(CounterPage)
}
}),
label('Multi Panel').apply({
width: 200,
height: 50,
backgroundColor: colors[0],
textSize: 30,
textColor: Color.WHITE,
layoutConfig: layoutConfig().just(),
onClick: () => {
navigator(context).push(MultiPanelDemo)
}
}),
],
{
layoutConfig: layoutConfig().most().configHeight(LayoutSpec.FIT),