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

Could not convert SwitchListTile widget to skeleton #34

Open
hardik-thirstydevs opened this issue May 31, 2024 · 2 comments
Open

Could not convert SwitchListTile widget to skeleton #34

hardik-thirstydevs opened this issue May 31, 2024 · 2 comments

Comments

@hardik-thirstydevs
Copy link

image

@rohitkhatri75436
Copy link

rohitkhatri75436 commented Sep 20, 2024

You can use the "Skeleton.replace" widget when the switch's height and width are static.

Skeleton.replace( 
    height: 34, // according to you 
    width: 40, // according to you 
    child: YOUR_SWITCH_WIDGET_CODE
)

@hardik-thirstydevs
Copy link
Author

@rohitkhatri75436 Later I managed by replacing the whole listtile with Skeleton.replace() as Skeletonizer did not recognize/convert the toggle switch of SwitchListTile to skeleton bone automatically.
(The purpose of adding this issue is to notify the authors about this)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants