useP method
void
useP({})
Implementation
void useP({
double? base,
double? disabled,
double? dragged,
double? error,
double? focused,
double? hovered,
double? pressed,
double? scrolledUnder,
double? selected,
}) =>
paddingState = NikuState(
disabled: disabled != null ? EdgeInsets.all(disabled) : null,
dragged: dragged != null ? EdgeInsets.all(dragged) : null,
error: error != null ? EdgeInsets.all(error) : null,
focused: focused != null ? EdgeInsets.all(focused) : null,
hovered: hovered != null ? EdgeInsets.all(hovered) : null,
pressed: pressed != null ? EdgeInsets.all(pressed) : null,
scrolledUnder:
scrolledUnder != null ? EdgeInsets.all(scrolledUnder) : null,
selected: selected != null ? EdgeInsets.all(selected) : null,
base: base != null ? EdgeInsets.all(base) : null,
);