CustomTextCode constructor

const CustomTextCode({
  1. Key? key,
  2. String currentValue = '',
  3. String? hint = 'Código',
  4. String prefix = '',
  5. bool disabled = false,
  6. Icon? leftIcon = const Icon(Ionicons.barcode_outline),
  7. Function? onChanged,
  8. bool enableCopy = false,
})

Implementation

const CustomTextCode({
  super.key,
  this.currentValue = '',
  this.hint = 'Código',
  this.prefix = '',
  this.disabled = false,
  this.leftIcon = const Icon(Ionicons.barcode_outline),
  this.onChanged,
  this.enableCopy = false,
});