UArCodeView constructor

const UArCodeView({
  1. required Widget cardBuilder(
    1. BuildContext context,
    2. String code,
    3. UArProjection projection
    ),
  2. bool filter(
    1. String code
    )?,
  3. void onCode(
    1. String code
    )?,
  4. Duration scanInterval = const Duration(milliseconds: 700),
  5. int maxCodes = 8,
  6. UArLabels labels = const UArLabels(),
  7. UArStyle style = const UArStyle(),
  8. bool showCloseButton = true,
  9. Key? key,
})

Implementation

const UArCodeView({
  required this.cardBuilder,
  this.filter,
  this.onCode,
  this.scanInterval = const Duration(milliseconds: 700),
  this.maxCodes = 8,
  this.labels = const UArLabels(),
  this.style = const UArStyle(),
  this.showCloseButton = true,
  super.key,
});