aligment again

This commit is contained in:
Zypherift 2023-09-17 17:05:04 +02:00
parent 03a5057269
commit 6293bb4017

View File

@ -19,7 +19,7 @@ const LinearGradient _backgroundGradient = LinearGradient(
Color.fromARGB(255, 23, 77, 185), Color.fromARGB(255, 23, 77, 185),
Color.fromARGB(255, 7, 42, 112), Color.fromARGB(255, 7, 42, 112),
], ],
begin: Alignment(-0.8, -2), begin: Alignment(-0.8, -2.0),
end: Alignment(0.8, 1.0), end: Alignment(0.8, 1.0),
stops: [-1.0, 0.0, 1.0], stops: [-1.0, 0.0, 1.0],
); );
@ -90,7 +90,7 @@ class _LoginScreenState extends State<LoginScreen> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
body: Container( body: Container(
decoration: BoxDecoration( decoration: const BoxDecoration(
gradient: _backgroundGradient, gradient: _backgroundGradient,
), ),
child: SafeArea( child: SafeArea(