getCheckboxRippleColor static method

Color getCheckboxRippleColor(
  1. BuildContext context, {
  2. UpStyle? override,
  3. UpStyle? style,
  4. UpColorType? colorType,
})

Implementation

static Color getCheckboxRippleColor(
  BuildContext context, {
  UpStyle? override,
  UpStyle? style,
  UpColorType? colorType,
}) {
  return override?.checkboxRippleColor ??
      style?.checkboxRippleColor ??
      getStyleByType(UpConfig.of(context).theme, colorType)
          .checkboxRippleColor ??
      Theme.of(context).primaryColor.withAlpha(1);
}