gradient property

Gradient? gradient
getter/setter pair

Sets full screen gradient.

gradient: const LinearGradient(
         begin: Alignment.topCenter,
         end: Alignment.bottomCenter,
         colors: [
           Colors.orange,
           Colors.deepOrange,
         ],
       ),

Implementation

Gradient? gradient;