-
Notifications
You must be signed in to change notification settings - Fork 78
Description
Trying to run my app with 'flutter run' produces this error:
`../../../../.pub-cache/hosted/pub.dev/flash-2.0.5+1/lib/flash.dart:534:30: Error: The argument type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry' because 'BorderRadius?' is nullable and 'BorderRadiusGeometry' isn't.
- 'BorderRadius' is from 'package:flutter/src/painting/border_radius.dart' ('../../../../../Chris/Desktop/flutter/flutter/packages/flutter/lib/src/painting/border_radius.dart').
- 'BorderRadiusGeometry' is from 'package:flutter/src/painting/border_radius.dart' ('../../../../../Chris/Desktop/flutter/flutter/packages/flutter/lib/src/painting/border_radius.dart').
borderRadius: widget.borderRadius,
^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
-
Where:
Script '/Users/Chris/Desktop/flutter/flutter/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 1350 -
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command '/Users/Chris/Desktop/flutter/flutter/bin/flutter'' 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 13s
Running Gradle task 'assembleDebug'... 14.3s
Exception: Gradle task assembleDebug failed with exit code 1
`