Open rokgregoric opened 4 years ago
Describe the bug The panel content gets initialized twice.
To Reproduce
SlidingPanel( content: PanelContent( panelContent: [Empty()], bodyContent: content, ), ); class Empty extends StatefulWidget { @override _EmptyState createState() => _EmptyState(); } class _EmptyState extends State<Empty> { @override void initState() { super.initState(); print('initState $this'); } @override Widget build(BuildContext context) { return Container(); } }
Output:
flutter: initState _EmptyState#9c683(lifecycle state: created) flutter: initState _EmptyState#82081(lifecycle state: created)
Smartphone (please complete the following information):
Describe the bug The panel content gets initialized twice.
To Reproduce
Output:
Smartphone (please complete the following information):