ModernFormViewFile constructor Null safety

const ModernFormViewFile(
  1. {Key? key,
  2. required Uint8List? file,
  3. required String? fileUrl,
  4. required String? fileName,
  5. required ModernFormFileExtensionType? fileExtensionType,
  6. String? leftLabel = "Ver arquivo "}
)

Implementation

const ModernFormViewFile({
  Key? key,
  required this.file,
  required this.fileUrl,
  required this.fileName,
  required this.fileExtensionType,
  this.leftLabel = "Ver arquivo ",
}) : super(key: key);