freezeState method

void freezeState([
  1. ElementState? state
])

Freeze the state of the component

Implementation

void freezeState([ElementState? state]) => state?.freeze();