import 'package:flutter/material.dart'; class DiscoverPage extends StatefulWidget { const DiscoverPage({super.key}); @override State createState() => _DiscoverPageState(); } class _DiscoverPageState extends State with AutomaticKeepAliveClientMixin{ @override Widget build(BuildContext context) { super.build(context); return Container( color: Colors.white, ); } @override bool get wantKeepAlive => true; }