OverrideCreateInputFunction typedef

  1. @visibleForTesting
OverrideCreateInputFunction = Element Function(String? accept, String? capture)

A function that creates a file input with the passed in accept and capture attributes.

Implementation

@visibleForTesting
typedef OverrideCreateInputFunction = html.Element Function(
  String? accept,
  String? capture,
);