CodeInput constructor
const
CodeInput({
- Key? key,
- required int length,
- bool isRequired = false,
- bool enabled = true,
- IconData? icon = Icons.phone,
- ValueChanged<
String> ? onCompleted, - EdgeInsetsGeometry padding = const EdgeInsets.fromLTRB(8.0, 8.0, 8.0, 16.0),
Implementation
const CodeInput({
super.key,
required this.length,
this.isRequired = false,
this.enabled = true,
this.icon = Icons.phone,
this.onCompleted,
this.padding = const EdgeInsets.fromLTRB(8.0, 8.0, 8.0, 16.0),
});