iampawan / VelocityX

A minimalist Flutter framework for rapidly building Flutter apps.
https://velocityx.dev
MIT License
1.43k stars 190 forks source link

Subject: Error: WidgetState not defined for _HoverToggleState in velocity_x 4.2.0 #211

Closed blackholeofuniverse closed 5 months ago

blackholeofuniverse commented 5 months ago

Description:

I'm encountering an error when using the velocity_x package (version 4.2.0) in my Flutter project. The error occurs when running the app in debug mode and is related to the WidgetState getter within the _HoverToggleState class.

Here's the specific error message: `../../../../AppData/Local/Pub/Cache/hosted/pub.dev/velocity_x-4.2.0/lib/src/flutter/hover.dart:31:42: Error: The getter 'WidgetState' isn't defined for the class '_HoverToggleState'.

Steps to Reproduce:

Install the velocity_x package (version 4.2.0) in a Flutter project. Run the app in debug mode. Expected Behavior:

The app should launch successfully without any errors.

Actual Behavior:

The app fails to launch due to the WidgetState error mentioned above.

Additional Information:

I have tried updating velocity_x to the latest version using flutter pub upgrade velocity_x, but the issue persists. I am using Flutter version 3.19.2. Request:

I would appreciate it if you could investigate this issue and provide a fix or workaround. If possible, please let me know if there's a known issue with WidgetState in velocity_x 4.2.0.

Thank you for your time and assistance. image

JayShreeKrishna9 commented 5 months ago

hey , I am also facing the same issue in Both Version velocity_x: ^4.1.1 And velocity_x: ^4.2.0

Bhargavp44445 commented 5 months ago

same issue

iampawan commented 5 months ago

It will be fixed today. Mostly happening because of older Flutter version

On Mon, 27 May, 2024, 1:05 pm bhargav patel, @.***> wrote:

same issue

— Reply to this email directly, view it on GitHub https://github.com/iampawan/VelocityX/issues/211#issuecomment-2132834437, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADAI5HDS7JLLYQUWULOEKVLZELO3ZAVCNFSM6AAAAABIJTWIIWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZSHAZTINBTG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

iampawan commented 5 months ago

Fixed with v4.2.1