boxGradient property
boxGradient
LinearGradient(
begin: FractionalOffset.topCenter,
end: FractionalOffset.bottomCenter,
colors: [
Color(0x3F000000),
Color(0x3F000000),
Color(0x3F000000),
Color(0x7C000000),
Color(0x3F000000),
],
stops: [
0.0,
0.25,
0.5,
0.75,
1.0
]),
Implementation
final LinearGradient? boxGradient;