Flutter: KeepAlive Incorrect use of ParentDataWidget
Try to keep drawer alive (do not rebuild when open/close drawer): import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the root of your application. @override Widget build(BuildContext context) {…