backgroundColor property

Color? get backgroundColor

Overrides the default value for Dialog.backgroundColor.

This property is obsolete and will be deprecated in a future release: please use the DialogThemeData.backgroundColor property in data instead.

Implementation

Color? get backgroundColor => _data != null ? _data.backgroundColor : _backgroundColor;