Hellow!
Is there a solution for creating a LinearGradient that has a smooth transition between start and ens color?
new Container(
decoration: new BoxDecoration(
gradient: new LinearGradient(
colors: [
Colors.black,
Colors.grey,
],
stops: [0.0, 1.0],
begin: FractionalOffset.topCenter,
end: FractionalOffset.bottomCenter,
tileMode: TileMode.repeated
)
),
)
you can use flexibleSpace property from AppBar to achieve gradient background.
In your main function set Paint.enableDithering = true;
just like below:
void main() {
Paint.enableDithering = true;
runApp(DesignChallenge05());
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With