BasicOTPInputController constructor

BasicOTPInputController({
  1. required int length,
})

Implementation

BasicOTPInputController({required this.length}) {
  _tec = TextEditingController();
  _focusNode = FocusNode();
}