code_input

A Flutter widget for inputting content with a fixed length, visually treating each character as a separate segment.

Usage

This is a small example:

CodeInput(
  length: 4,
  keyboardType: TextInputType.number,
  builder: CodeInputBuilders.lightCircle(),
  onFilled: (value) => print('Your input is $value.'),
)

For more information about the properties, have a look at the API reference.

GitHub

https://github.com/Rahiche/flutter_code_input