Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

The elliptic ring shrinks after a short time #1

Open
Technorocker opened this issue Dec 23, 2022 · 2 comments
Open

The elliptic ring shrinks after a short time #1

Technorocker opened this issue Dec 23, 2022 · 2 comments

Comments

@Technorocker
Copy link

Technorocker commented Dec 23, 2022

I just started noticing that the circle "shrinks" if im scrolling down the page. Heres a screenshot of it when the page loads.

elliptic normal

and heres a picture after i try and scroll the page after less than a minute.

elliptic shrunk

I use this plugin on my main app and just built this landing page today. Any ideas why the circumference might get smaller?

Here is the code for that part...

Center(
              // Wrap the EllipticText widget in a SizedBox to set its size.
              child: SizedBox(
                height: isMobile ? 250 : 400,
                width: isMobile ? 300 : 600,
                child: EllipticText(
                  text: "Welcome to the Evolution",
                  style: TextStyle(
                    fontSize: isMobile ? 40 : 70.0,
                    letterSpacing: 2.0,
                    color: Theme.of(context).primaryColorDark,
                    fontFamily: 'Elianto',
                  ),
                  debugStrokeWidth: 1.0,

                  // Draw text at the bottom of the ellipse.
                  perimiterAlignment: EllipticText_PerimiterAlignment.top,
                  offset: rotating
                      ? value
                      : isMobile
                          ? 5
                          : 15,
                  // Stretch text to half the circumference.
                  fitFactor: 1 / 2,
                  fitType: EllipticText_FitType.stretchFit,
                ),
              ),
            )),

EDIT**
I just tried to remove the few conditional variables and made all height and widths and such static entries thinking that might be causing it but it still shrunk down

@Technorocker
Copy link
Author

is anyone still managing this plugin?

@MiroslavBlagoev
Copy link

To me, it only happens when using Android Debug mode. Just use release and its fine

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

No branches or pull requests

2 participants