overlayColor property

MaterialStateProperty<Color?>? get overlayColor

Overrides the default value for TabBar.overlayColor.

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

Implementation

MaterialStateProperty<Color?>? get overlayColor => _data != null ? _data.overlayColor : _overlayColor;