The issue is after hiding it when I bring it back by top swiping it then stays...
How do I solve this? Maybe some kind of listener on touching the top status bar??
My code
class _MyProfileState extends State<MyProfile> {
@override
void initState() {
SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.bottom]);
super.initState();
}
@override
void dispose() {
SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values);
super.dispose();
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('My Profile'),
elevation: 0,
),
body: Container(),
);
}
}
