disableShadows property Null safety

bool disableShadows
protected">@protected

The value to set debugDisableShadows to while tests are running.

This can be used to reduce the likelihood of golden file tests being flaky, because shadow rendering is not always deterministic. The AutomatedTestWidgetsFlutterBinding sets this to true, so that all tests always run with shadows disabled.

Implementation

@protected
bool get disableShadows => false;