linearGradient property
Implementation
final Shader linearGradient = LinearGradient(
colors: <Color>[Color(0xFF9B51E0), Color(0xff5D3DF3)],
).createShader(Rect.fromLTWH(0.0, 0.0, 100.0, 70.0));
final Shader linearGradient = LinearGradient(
colors: <Color>[Color(0xFF9B51E0), Color(0xff5D3DF3)],
).createShader(Rect.fromLTWH(0.0, 0.0, 100.0, 70.0));