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