ProfessionalAdaptiveColors extension
Adaptive Color System for professional theming
- on
Methods
-
adaptive(
{required Color light, required Color dark}) → Color -
Available on BuildContext, provided by the ProfessionalAdaptiveColors extension
Returns appropriate color based on theme brightness -
adaptiveBrand(
Color baseColor, [double darkAdjustment = -0.1]) → Color -
Available on BuildContext, provided by the ProfessionalAdaptiveColors extension
Adaptive brand color with auto-generated dark variant -
adaptiveSurface(
[int elevation = 0]) → Color -
Available on BuildContext, provided by the ProfessionalAdaptiveColors extension
Adaptive surface color with elevation awareness -
adaptiveText(
{Color? light, Color? dark}) → Color -
Available on BuildContext, provided by the ProfessionalAdaptiveColors extension
Adaptive text color with proper contrast