getAppGradient function

LinearGradient getAppGradient(
  1. BuildContext context
)

Implementation

LinearGradient getAppGradient(BuildContext context) => LinearGradient(
      begin: Alignment.topLeft,
      end: Alignment.bottomRight,
      stops: const <double>[0.2, 1],
      colors: <Color>[
        Theme.of(context).accentColor,
        Theme.of(context).accentColor,
      ],
    );