effectiveBackgroundColor property
Color?
effectiveBackgroundColor
Computed background color with opacity and alpha
Implementation
Color? get effectiveBackgroundColor {
return backgroundColor != null
? Colors.withTransparency(
backgroundColor!,
opacity: backgroundOpacity,
alpha: backgroundAlpha,
)
: Colors.transparent;
}