feat:fix complicatedDemo
This commit is contained in:
parent
cb3dfcbec8
commit
90a3691362
@ -6,7 +6,8 @@ class MyDemo extends Panel {
|
||||
build(root: Group) {
|
||||
let refreshed: Refreshable
|
||||
let headerImage: Image
|
||||
stack([
|
||||
stack(
|
||||
[
|
||||
refreshed = refreshable({
|
||||
onRefresh: () => {
|
||||
refreshed.setRefreshing(context, false)
|
||||
@ -53,6 +54,10 @@ class MyDemo extends Panel {
|
||||
height: 200,
|
||||
scaleType: ScaleType.ScaleAspectFill,
|
||||
}),
|
||||
]).in(root)
|
||||
],
|
||||
{
|
||||
layoutConfig: layoutConfig().most()
|
||||
}
|
||||
).in(root)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user