CupertinoDynamicColor constructor
Creates an adaptive Color that changes its effective color based on the
BuildContext given. The default effective color is color
.
Implementation
const CupertinoDynamicColor({
String? debugLabel,
required Color color,
required Color darkColor,
required Color highContrastColor,
required Color darkHighContrastColor,
required Color elevatedColor,
required Color darkElevatedColor,
required Color highContrastElevatedColor,
required Color darkHighContrastElevatedColor,
}) : this._(
color,
color,
darkColor,
highContrastColor,
darkHighContrastColor,
elevatedColor,
darkElevatedColor,
highContrastElevatedColor,
darkHighContrastElevatedColor,
null,
debugLabel,
);