Open
Description
When I try to use sidekick inside a TableView.buider I get this error,
type 'RenderSliverList' is not a subtype of type 'RenderBox'
this happens for any limition of flutter or is by design?
@override
Widget build(BuildContext context) {
return Column(children: <Widget>[
Expanded(
flex: 2,
child: Stack(children: <Widget>[
GestureDetector(
onTap: () => controller.moveToTarget(context),
child: Sidekick(
tag: 'target',
child: Container(
color: Colors.blue,
),
),
),
])),
Expanded(
flex: 1,
child: Container(
child: ListView.builder(
itemCount: 1,
itemBuilder: (context, index) {
return GestureDetector(
onTap: () => controller.moveToTarget(context),
child: Sidekick(
tag: 'source',
targetTag: 'tagTarget',
child: Container(
height: 50,
width: 400,
color: Colors.red,
),
));
}),
))
]);
}
Metadata
Metadata
Assignees
Labels
No labels