CodeInput constructor

const CodeInput({
  1. Key? key,
  2. required int length,
  3. bool isRequired = false,
  4. bool enabled = true,
  5. IconData? icon = Icons.phone,
  6. ValueChanged<String>? onCompleted,
  7. 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),
});