buildUpload method

Widget buildUpload()

Implementation

Widget buildUpload() {
  final bool _enabled = enabled ?? true;

  return ModernFormUpload(
    onTap: _enabled ? onTapUpload : null,
    pasteEnabled: pasteEnabled,
    onChange: _enabled ? onChangePaste : null,
  );
}