useDecoration method

void useDecoration(
  1. NikuInputDecoration v(
    1. NikuInputDecoration
    )
)

Implementation

void useDecoration(NikuInputDecoration Function(NikuInputDecoration) v) {
  if (decoration == null) decoration = NikuInputDecoration();

  decoration?.apply = v(decoration!);
}