Closed Munawer2022 closed 10 months ago
PS C:\Users\tahir\Downloads\super_schoenen> flutter run Launching lib\main.dart on P2 in debug mode... ../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/carousel_slider-4.2.1/lib/carousel_slider.dart:189:3: Error: A method declaration needs an explicit list of parameters. Try adding a parameter list to the method declaration. Widget getGestureWrapper(Widget child) { ^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/carousel_slider-4.2.1/lib/carousel_slider.dart:189:10: Error: Expected '{' before this. Widget getGestureWrapper(Widget child) { ^^^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/carousel_slider-4.2.1/lib/carousel_slider.dart:189:10: Error: A setter should have exactly one formal parameter. Widget getGestureWrapper(Widget child) { ^ ../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/carousel_slider-4.2.1/lib/carousel_slider.dart:189:28: Error: 'Widget' isn't a type. Widget getGestureWrapper(Widget child) { ^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/carousel_slider-4.2.1/lib/carousel_slider.dart:190:5: Error: 'Widget' isn't a type. Widget wrapper; ^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/carousel_slider-4.2.1/lib/carousel_slider.dart:245:27: Error: 'Widget' isn't a type. Widget getCenterWrapper(Widget child) { ^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/carousel_slider-4.2.1/lib/carousel_slider.dart:254:28: Error: 'Widget' isn't a type. Widget getEnlargeWrapper(Widget? child, ^^^^^^
FAILURE: Build failed with an exception.
Where: Script 'C:\Users\tahir\fvm\versions\3.3.10\packages\flutter_tools\gradle\flutter.gradle' line: 1159
What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command 'C:\Users\tahir\fvm\versions\3.3.10\bin\flutter.bat'' finished with non-zero exit value 1
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 4s Running Gradle task 'assembleDebug'... 5.8s Exception: Gradle task assembleDebug failed with exit code 1
PS C:\Users\tahir\Downloads\super_schoenen> flutter run Launching lib\main.dart on P2 in debug mode... ../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/carousel_slider-4.2.1/lib/carousel_slider.dart:189:3: Error: A method declaration needs an explicit list of parameters. Try adding a parameter list to the method declaration. Widget getGestureWrapper(Widget child) { ^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/carousel_slider-4.2.1/lib/carousel_slider.dart:189:10: Error: Expected '{' before this. Widget getGestureWrapper(Widget child) { ^^^^^^^^^^^^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/carousel_slider-4.2.1/lib/carousel_slider.dart:189:10: Error: A setter should have exactly one formal parameter. Widget getGestureWrapper(Widget child) { ^ ../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/carousel_slider-4.2.1/lib/carousel_slider.dart:189:28: Error: 'Widget' isn't a type. Widget getGestureWrapper(Widget child) { ^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/carousel_slider-4.2.1/lib/carousel_slider.dart:190:5: Error: 'Widget' isn't a type. Widget wrapper; ^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/carousel_slider-4.2.1/lib/carousel_slider.dart:245:27: Error: 'Widget' isn't a type. Widget getCenterWrapper(Widget child) { ^^^^^^ ../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/carousel_slider-4.2.1/lib/carousel_slider.dart:254:28: Error: 'Widget' isn't a type. Widget getEnlargeWrapper(Widget? child, ^^^^^^
FAILURE: Build failed with an exception.
Where: Script 'C:\Users\tahir\fvm\versions\3.3.10\packages\flutter_tools\gradle\flutter.gradle' line: 1159
What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 4s Running Gradle task 'assembleDebug'... 5.8s Exception: Gradle task assembleDebug failed with exit code 1