toggleFrame method
void
toggleFrame()
Hide or show the current device frame.
Implementation
void toggleFrame() {
data = data.copyWith(
isFrameVisible: !data.isFrameVisible,
);
}
Hide or show the current device frame.
void toggleFrame() {
data = data.copyWith(
isFrameVisible: !data.isFrameVisible,
);
}