Please help me clear this error related to webview

ERROR (XT2201 2): lib/flutter_flow/flutter_flow_web_view.dart:111:26: Error: The getter 'FilePicker' isn't defined for the class '_FlutterFlowWebViewState'.

- '_FlutterFlowWebViewState' is from 'package:antsports/flutter_flow/flutter_flow_web_view.dart' ('lib/flutter_flow/flutter_flow_web_view.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'FilePicker'.

final result = await FilePicker.platform.pickFiles();

^^^^^^^^^^

ERROR (XT2201 2): lib/flutter_flow/flutter_flow_web_view.dart:109:11: Error: 'FileSelectorParams' isn't a type.

final FileSelectorParams params,

ERROR (XT2201 2): Try correcting the name to the name of an existing method, or defining a method named 'MobileSpecificParams'.

mobileSpecificParams: MobileSpecificParams(

^^^^^^^^^^^^^^^^^^^^

lib/flutter_flow/flutter_flow_web_view.dart:71:22: Error: The getter 'NavigationDecision' isn't defined for the class '_FlutterFlowWebViewState'.

- '_FlutterFlowWebViewState' is from 'package:antsports/flutter_flow/flutter_flow_web_view.dart' ('lib/flutter_flow/flutter_flow_web_view.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'NavigationDecision'.

return NavigationDecision.prevent;

^^^^^^^^^^^^^^^^^^

lib/flutter_flow/flutter_flow_web_view.dart:74:18: Error: The getter 'NavigationDecision' isn't defined for the class '_FlutterFlowWebViewState'.

- '_FlutterFlowWebViewState' is from 'package:antsports/flutter_flow/flutter_flow_web_view.dart' ('lib/flutter_flow/flutter_flow_web_view.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'NavigationDecision'.

return NavigationDecision.navigate;

^^^^^^^^^^^^^^^^^^

lib/flutter_flow/flutter_flow_web_view.dart:109:11: Error: 'FileSelectorParams' isn't a type.

final FileSelectorParams params,

^^^^^^^^^^^^^^^^^^

ERROR (XT2201 2): lib/flutter_flow/flutter_flow_web_view.dart:49:15: Error: The getter 'SourceType' isn't defined for the class '_FlutterFlowWebViewState'.

- '_FlutterFlowWebViewState' is from 'package:antsports/flutter_flow/flutter_flow_web_view.dart' ('lib/flutter_flow/flutter_flow_web_view.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'SourceType'.

? SourceType.html

^^^^^^^^^^

lib/flutter_flow/flutter_flow_web_view.dart:51:19: Error: The getter 'SourceType' isn't defined for the class '_FlutterFlowWebViewState'.

- '_FlutterFlowWebViewState' is from 'package:antsports/flutter_flow/flutter_flow_web_view.dart' ('lib/flutter_flow/flutter_flow_web_view.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'SourceType'.

? SourceType.urlBypass

^^^^^^^^^^

lib/flutter_flow/flutter_flow_web_view.dart:52:19: Error: The getter 'SourceType' isn't defined for the class '_FlutterFlowWebViewState'.

- '_FlutterFlowWebViewState' is from 'package:antsports/flutter_flow/flutter_flow_web_view.dart' ('lib/flutter_flow/flutter_flow_web_view.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'SourceType'.

: SourceType.url,

^^^^^^^^^^

lib/flutter_flow/flutter_flow_web_view.dart:53:25: Error: The getter 'JavascriptMode' isn't defined for the class '_FlutterFlowWebViewState'.

1
1 reply