useFillColor method

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

Implementation

void useFillColor({
  Color? base,
  Color? disabled,
  Color? dragged,
  Color? error,
  Color? focused,
  Color? hovered,
  Color? pressed,
  Color? scrolledUnder,
  Color? selected,
}) {
  fillColorState = NikuState(
    disabled: disabled,
    dragged: dragged,
    error: error,
    focused: focused,
    hovered: hovered,
    pressed: pressed,
    scrolledUnder: scrolledUnder,
    selected: selected,
    base: base,
  );
}