Root_Takeover function
Implementation
Widget Root_Takeover({ required Widget header, required Widget content}) {
return PopScope(
canPop: false,
child: Scaffold(
body: SafeArea(
child: Column(
children: [
header,
Expanded(
child: content,
),
],
),
),
),
);
}