Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SameerGhaffar opened this issue Mar 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@SameerGhaffar
Copy link

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 SameerGhaffar added the bug Something isn't working label Mar 21, 2024
@bharat-1809
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants