You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error: The argument type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry' #72
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
I'm new to flutter but based on what I've been reading and this error path '../../../../.pub-cache/hosted/pub.dev/flash-2.0.5+1/lib/flash.dart:534:30:' it looks kind of similar to this issue ReinBentdal/division#75
Activity
sososdk commentedon Dec 19, 2023
I don't think this is a issue with
flash.chrisokwakol commentedon Dec 19, 2023
I'm new to flutter but based on what I've been reading and this error path '../../../../.pub-cache/hosted/pub.dev/flash-2.0.5+1/lib/flash.dart:534:30:' it looks kind of similar to this issue ReinBentdal/division#75
chrisokwakol commentedon Dec 20, 2023
Adding this line fixed the issue :
` @OverRide
Widget build(BuildContext context) {
Widget child = widget.child;
dev-thinks commentedon Mar 7, 2024
@sososdk
yes it is coming out from this plugin.
@chrisokwakol can you please guide on the workaround for this issue. where to add the override build function,
thanks in advance.