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

widgetIndicator issue in v4.2.4 #223

Open
Manuito83 opened this issue Dec 26, 2024 · 0 comments
Open

widgetIndicator issue in v4.2.4 #223

Manuito83 opened this issue Dec 26, 2024 · 0 comments

Comments

@Manuito83
Copy link

widgetIndicator is not being properly positioned. In some of the tests I performed, it is just being shown at the top/left corner of the page (completely outside of the LinearPercentIndicator widget).

In the example below, it is simply not being shown at all.

v4.2.3:

Texto alternativo

v4.2.4:

Texto alternativo

Refer to this simple example code:

@override
  Widget build(BuildContext context) {
    return Row(
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        Center(
          child: LinearPercentIndicator(
            barRadius: const Radius.circular(10),
            isRTL: true,
            center: Text(
              "test",
              style: const TextStyle(
                color: Colors.black,
                fontWeight: FontWeight.bold,
              ),
            ),
            widgetIndicator: Padding(
              padding: EdgeInsets.only(top: 7.0),
              child: Icon(Icons.bubble_chart_outlined),
            ),
            animateFromLastPercent: true,
            animation: true,
            width: 180,
            lineHeight: 18,
            progressColor: Colors.blue[200],
            backgroundColor: Colors.grey,
            percent: 0.2,
          ),
        ),
      ],
    );
  }
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

1 participant