how to make a gradient background color full screen and blend between the appbar and body, so the colors look merged and don't look disconnected between the colors in the appbar and body. this is the view:
this is my code:
return Scaffold(
appBar: AppBar(
title: Text("Title"),
elevation: 0,
flexibleSpace: Container(
decoration: BoxDecoration(
gradient: LinearGradient(
begin: Alignment.topLeft,
end: Alignment.centerRight,
colors: [
Color.fromRGBO(205, 193, 255, 1.0),
Color.fromARGB(255, 252, 99, 99),
Color.fromARGB(255, 173, 41, 1),
],
),
),
),
),
body: Container(
decoration: BoxDecoration(
gradient: LinearGradient(
begin: Alignment.topLeft,
end: Alignment.centerRight,
colors: [
Color.fromRGBO(205, 193, 255, 1.0),
Color.fromARGB(255, 252, 99, 99),
Color.fromARGB(255, 173, 41, 1),
],
),
),
padding: EdgeInsets.fromLTRB(10, 0, 10, 0),
child: Center(
child: Column(
children: [
Text("bla bla bla"),
Text("bla bla bla"),
],
),
),
));

