useOverlayColor method

void useOverlayColor({
  1. Color? all,
  2. Color? disabled,
  3. Color? dragged,
  4. Color? error,
  5. Color? focused,
  6. Color? hovered,
  7. Color? pressed,
  8. Color? scrolledUnder,
  9. Color? selected,
  10. Color? base,
})

Implementation

void useOverlayColor({
  Color? all,
  Color? disabled,
  Color? dragged,
  Color? error,
  Color? focused,
  Color? hovered,
  Color? pressed,
  Color? scrolledUnder,
  Color? selected,
  Color? base,
}) =>
    overlayColorState = NikuState(
      all: all ?? fillColorState?.all,
      disabled: disabled ?? fillColorState?.disabled,
      dragged: dragged ?? fillColorState?.dragged,
      error: error ?? fillColorState?.error,
      focused: focused ?? fillColorState?.focused,
      hovered: hovered ?? fillColorState?.hovered,
      pressed: pressed ?? fillColorState?.pressed,
      scrolledUnder: scrolledUnder ?? fillColorState?.scrolledUnder,
      selected: selected ?? fillColorState?.selected,
      base: base ?? fillColorState?.base,
    );