Skip to content

Added support for FilterQuality in ScaleEffect#156

Open
krll-kov wants to merge 1 commit intogskinner:mainfrom
krll-kov:main
Open

Added support for FilterQuality in ScaleEffect#156
krll-kov wants to merge 1 commit intogskinner:mainfrom
krll-kov:main

Conversation

@krll-kov
Copy link
Copy Markdown

@krll-kov krll-kov commented Jun 3, 2025

Why this is important:

Desktop.2025-06-03.9-39-36.AM.mp4

Will fix this: #149

Center(
                    child: Row(
mainAxisAlignment: MainAxisAlignment.center,
                      children: [
                        SizedBox(
                          height: 200,
                          width: 200,
                          child: Text(
                                'Upgrade Now',
                                style: TextStyle(
                                  color: Colors.white,
                                  fontSize: 18,
                                  fontWeight: FontWeight.bold,
                                ), // TextStyle
                              ) // Text
                              .animate(
                                onPlay: (controller) =>
                                    controller.repeat(reverse: true),
                              )
                              .scale(
                                begin: const Offset(1, 1),
                                end: const Offset(1.3, 1.3),
                                duration: 2.seconds,
                              ),
                        ),

                        SizedBox(
                          height: 200,
                          width: 200,
                          child: Text(
                                'Upgrade Now FilterQuality',
                                style: TextStyle(
                                  color: Colors.white,
                                  fontSize: 18,
                                  fontWeight: FontWeight.bold,
                                ), // TextStyle
                              ) // Text
                              .animate(
                                onPlay: (controller) =>
                                    controller.repeat(reverse: true),
                              )
                              .scale(
                                begin: const Offset(1, 1),
                                end: const Offset(1.3, 1.3),
                                duration: 2.seconds,
                                filterQuality: FilterQuality.high,
                              ),
                        ),
                      ],
                    ),
                  ),

@gskinner
Copy link
Copy Markdown
Owner

Sorry for the delay on this. Thanks for the PR! I'll look at merging it and pushing a new version soon.

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

Successfully merging this pull request may close these issues.

2 participants