update method
void
update({
- T? base,
- T? disabled,
- T? dragged,
- T? error,
- T? focused,
- T? hovered,
- T? pressed,
- T? selected,
Implementation
void update({
T? base,
T? disabled,
T? dragged,
T? error,
T? focused,
T? hovered,
T? pressed,
T? selected,
}) {
this.base = base ?? this.base;
this.disabled = disabled ?? this.disabled;
this.dragged = dragged ?? this.dragged;
this.error = error ?? this.error;
this.focused = focused ?? this.focused;
this.hovered = hovered ?? this.hovered;
this.pressed = selected ?? this.pressed;
this.selected = selected ?? this.selected;
this.init = false;
}