decoration property

Decoration? decoration
final

Add decoration to the background, 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? decoration;