decoration property Null safety

BoxDecoration? decoration
final

Controls the BoxDecoration of the box behind the text input.

Defaults to having a rounded rectangle grey border and can be null to have no box decoration.

Implementation

final BoxDecoration? decoration;