ArnaDynamicColor constructor
const
ArnaDynamicColor({})
Creates an adaptive Color that changes its effective color based on the BuildContext given. The default
effective color is color
.
All the colors must not be null.
Implementation
const ArnaDynamicColor({
String? debugLabel,
required Color color,
required Color darkColor,
required Color highContrastColor,
required Color darkHighContrastColor,
}) : this._(
color,
color,
darkColor,
highContrastColor,
darkHighContrastColor,
null,
debugLabel,
);