backgroundColorFor method

Color backgroundColorFor(
  1. bool enabled
)

Implementation

Color backgroundColorFor(bool enabled) =>
    enabled ? backgroundColor : disabledBackgroundColor;