Skip to content

widgetIndicator issue in v4.2.4Β #223

@Manuito83

Description

@Manuito83

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,
          ),
        ),
      ],
    );
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions