Navigator.pushAndRemoveUntil<void>(
context,
MaterialPageRoute<void>(
builder: (BuildContext context) => LoginPage(),
),
(Route<dynamic> route) => false,
);