Supported by fix tool: Yes

CupertinoTextThemeData.brightness was deprecated in v1.10.14.
This field member was made ineffective at the time of deprecation.
There is no replacement for this
parameter, references should be removed.

Migration guide

Code before migration:

const

CupertinoTextThemeData

themeData

CupertinoTextThemeData

brightness:

Brightness

dark

);

themeData

copyWith

brightness:

Brightness

light

);

Code after migration:

const

CupertinoTextThemeData

themeData

CupertinoTextThemeData

();

themeData

copyWith