clearFieldState method

  1. @override
void clearFieldState(
  1. {required CreatorModel creatorModel}
)
override

Clears this field's data. The state refresh afterwards is not performed here and should be performed by the invocation of the clear field button.

Implementation

@override
void clearFieldState({
  required CreatorModel creatorModel,
}) {
  _audioPlayer.stop();
  super.clearFieldState(creatorModel: creatorModel);
}