FOtpController constructor
FOtpController({
- List<
Widget> children = const [FOtpItem(), FOtpItem(), FOtpItem(), FOtpItem(), FOtpItem(), FOtpItem()], - TextEditingValue value = .empty,
Creates a FOtpController.
Implementation
FOtpController({
this.children = const [FOtpItem(), FOtpItem(), FOtpItem(), FOtpItem(), FOtpItem(), FOtpItem()],
TextEditingValue value = .empty,
}) : _length = children.whereType<FOtpItemMixin>().length,
_focused = 0,
super.fromValue(value);