backgroundDecoration property

Decoration? backgroundDecoration
final

Add decoration to the background of screen area except child,

Note: this value will only reflect in large screen

like specify color, add image, shadows,...

Example

BoxDecoration(
  image: DecorationImage(image: NetworkImage(url)),
  color: Colors.green,
),

Implementation

final Decoration? backgroundDecoration;