InputFile constructor

const InputFile({
  1. String? accept,
  2. String? capture,
  3. bool? multiple,
  4. String? name,
  5. bool? disabled,
  6. String? form,
  7. String? inputMode,
  8. int? tabIndex,
  9. String? value,
  10. Key? key,
  11. NullableElementCallback? ref,
  12. String? id,
  13. String? title,
  14. String? style,
  15. String? className,
  16. bool? hidden,
  17. String? innerText,
  18. Widget? child,
  19. List<Widget>? children,
  20. EventCallback? onClick,
  21. EventCallback? onChange,
  22. Map<String, String>? additionalAttributes,
})

Implementation

const InputFile({
  String? accept,
  String? capture,
  bool? multiple,
  String? name,
  bool? disabled,
  String? form,
  String? inputMode,
  int? tabIndex,
  String? value,
  Key? key,
  NullableElementCallback? ref,
  String? id,
  String? title,
  String? style,
  String? className,
  bool? hidden,
  String? innerText,
  Widget? child,
  List<Widget>? children,
  EventCallback? onClick,
  EventCallback? onChange,
  Map<String, String>? additionalAttributes,
}) : super(
        accept: accept,
        capture: capture,
        multiple: multiple,
        name: name,
        form: form,
        value: value,
        tabIndex: tabIndex,
        disabled: disabled,
        inputMode: inputMode,
        type: InputType.file,
        key: key,
        ref: ref,
        id: id,
        title: title,
        style: style,
        className: className,
        hidden: hidden,
        innerText: innerText,
        child: child,
        children: children,
        onClick: onClick,
        onChange: onChange,
        additionalAttributes: additionalAttributes,
      );