glass_kit icon indicating copy to clipboard operation
glass_kit copied to clipboard

Error: The argument type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry'

Open SameerGhaffar opened this issue 11 months ago • 1 comments

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);

SameerGhaffar avatar Mar 21 '24 06:03 SameerGhaffar

can you share the code snippet of how you are trying to create a glass container with border radius

bharat-1809 avatar May 21 '24 19:05 bharat-1809