GSField.qrScanner constructor

GSField.qrScanner({
  1. Key? key,
  2. required String tag,
  3. String? title,
  4. bool? showTitle,
  5. String? errorMessage,
  6. String? helpMessage,
  7. bool? required,
  8. GSFieldStatusEnum? status,
  9. int? weight,
  10. String? hint,
  11. Widget? iconWidget,
  12. Color? iconColor,
  13. bool? enableReadOnly,
})

Implementation

GSField.qrScanner({
  Key? key,
  required String tag,
  String? title,
  bool? showTitle,
  String? errorMessage,
  String? helpMessage,
  bool? required,
  GSFieldStatusEnum? status,
  int? weight,
  String? hint,
  Widget? iconWidget,
  Color? iconColor,
  bool? enableReadOnly,
}) : super(key: key) {
  model = GSQRScannerModel(
    type: GSFieldTypeEnum.qrScanner,
    tag: tag,
    showTitle: showTitle ?? false,
    title: title,
    errorMessage: errorMessage,
    helpMessage: helpMessage,
    required: required,
    status: status,
    weight: weight,
    hint: hint,
    iconWidget: iconWidget,
    enableReadOnly: enableReadOnly,
  );
}