backgroundGradient function
Implementation
LinearGradient backgroundGradient(
{required int primaryLinearGradientColor, required int primaryColor}) =>
LinearGradient(
begin: Alignment.topLeft,
end: Alignment.bottomRight,
stops: const <double>[0, 0.7],
colors: <Color>[
Color(primaryLinearGradientColor),
Color(primaryColor),
],
);