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

Feature Request: Animation Support for Slivers (SwitchAnimationConfig for SliverSkeletonizer) #42

Open
Kamysek opened this issue Sep 7, 2024 · 1 comment

Comments

@Kamysek
Copy link

Kamysek commented Sep 7, 2024

Hello,

It would be great if skeletonizer also supported animations for Slivers. I was wondering if there is a specific reason why this functionality is not currently available. Slivers are commonly used in complex layouts, and having animated skeletons for them would be a valuable addition. Any insight would be appreciated!

Thanks!

@marcorossitb
Copy link

Same, it's not clear to me why it was disabled here (enableSwitchAnimation: false)

  /// Creates a [SliverSkeletonizer] widget
  const SliverSkeletonizer({
    required super.child,
    super.key,
    super.enabled = true,
    super.effect,
    super.textBoneBorderRadius,
    super.ignoreContainers,
    super.justifyMultiLineText,
    super.containersColor,
    super.ignorePointers,
  }) : super._(enableSwitchAnimation: false);

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