barrierColor property

Color? get barrierColor

Overrides the default value for barrierColor in showDialog.

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

Implementation

Color? get barrierColor => _data != null ? _data.barrierColor : _barrierColor;