background property
Implementation
@override
Color? get background {
if (super.background == null) {
return enabled && isClickMode
? activated
? theme.primaryColor.withOpacity(0.1)
: theme.primaryColor
: Colors.grey.withOpacity(0.1);
}
return super.background;
}
Implementation
set background(Color? value) => _background = value;