glass_kit
glass_kit copied to clipboard
Error: The argument type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry'
Describe the bug Error: The argument type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry' because 'BorderRadius?' is nullable and 'BorderRadiusGeometry' isn't.
Flutter:
- 3.19.3
- Stable
Dart: Dart 3.3.1
/C:/Users/samee/AppData/Local/Pub/Cache/hosted/pub.dev/glass_kit-2.0.1/lib/src/glass_container.dart:406:41:
- 'BorderRadius' is from 'package:flutter/src/painting/border_radius.dart' ('/C:/src/flutter/packages/flutter/lib/src/painting/border_radius.dart').
- 'BorderRadiusGeometry' is from 'package:flutter/src/painting/border_radius.dart' ('/C:/src/flutter/packages/flutter/lib/src/painting/border_radius.dart'). current = ClipRRect(borderRadius: borderRadius, child: current);
can you share the code snippet of how you are trying to create a glass container with border radius