backgroundColor property

Color backgroundColor
final

Background color behind the children.

Defaults to a gray color in the iOS color palette.

This can be set to null to disable the background painting entirely; this is mildly more efficient than using Colors.transparent.

Implementation

final Color backgroundColor;