glass_kit
glass_kit copied to clipboard
remove the require of width / height
Please remove the require of width / height. I need a box filled with children . It works well when there is no width or height .
Hey, @Huzhengtao thanks for opening this issue. I regret the inconvenience caused. This is a known issue and we are still working on it. The background blur and noise currently need a height and width. I am trying to make this optional and the container will take constraints from its parent.
Please remove the require of width / height. I need a box filled with children . It works well when there is no width or height .
+1 for this issue.
im trying to build apk and getting this error, /C:/src/Pub/Cache/hosted/pub.dev/glass_kit-2.0.1/lib/src/glass_container.dart:406:41: 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' ('/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); ^ Target kernel_snapshot failed: Exception
Screenshots
Flutter:
- 3.13.2
- stable
Dart:
- 3.1.0
+1 for this issue indeed
++ 1 for this issue
Folks, this is resolved and merged. It'll be released on pub.dev with version 4.0.0
Thanks for the patience and contributing to the pkg