PinInputController constructor

PinInputController({
  1. required int length,
  2. String text = '',
})

Creates a new PinInputController.

length is required and specifies how many input fields to display. text is optional and defaults to an empty string.

Implementation

PinInputController({required this.length, String text = ''}) : _text = text;