RitickSaha / glassmorphism

Glassmorphic UI Package For Flutter || UI ||
https://pub.dev/packages/glassmorphism
Apache License 2.0
66 stars 26 forks source link

dart:ui/geometry.dart '<optimized out>': is not true. #14

Open arshad-dqot opened 1 year ago

arshad-dqot commented 1 year ago

bug :- image

Code:-

GlassmorphicContainer(
                          width: 0,
                          height: 45.h,
                          borderRadius: 5.r,
                          blur: 6,
                          alignment: Alignment.center,
                          border: 10,
                          linearGradient: LinearGradient(
                              begin: Alignment.topLeft,
                              end: Alignment.bottomRight,
                              colors: [
                                colorGreen.withOpacity(0.2),
                                colorGreen.withOpacity(0.2),
                              ],
                              stops: [
                                0.1,
                                1,
                              ]),
                          borderGradient: LinearGradient(
                            begin: Alignment.topLeft,
                            end: Alignment.bottomRight,
                            colors: [
                              Colors.black.withOpacity(0.5),
                              Colors.black.withOpacity(0.5),
                            ],
                          ),

flutter doctor :-

[√] Flutter (Channel stable, 3.7.3, on Microsoft Windows [Version 10.0.19045.2604], locale en-IN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[√] Chrome - develop for the web
[!] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.18)
    X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components:
        MSVC v142 - VS 2019 C++ x64/x86 build tools
         - If there are multiple build tool versions available, install the latest
        C++ CMake tools for Windows
        Windows 10 SDK
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.75.1)        
[√] Connected device (4 available)  
[√] HTTP Host Availability
pblue3 commented 2 months ago

Same problem here too but I don't know if the project is still maintained...