shadows property

  1. @override
List<Shadow>? shadows
override

A list of Shadows that will be painted underneath the text.

Multiple shadows are supported to replicate lighting from multiple light sources.

Shadows must be in the same order for TextStyle to be considered as equivalent as order produces differing transparency.

Implementation

@override
List<ui.Shadow>? get shadows => textStyle.shadows;