Skip to content

CircularProgressIndicator.adaptive is always indeterminate on Darwin #140574

@tvolkert

Description

@tvolkert

Steps to reproduce

Run the following app on macOS or iOS:

class IssueApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Center(
        child: CircularProgressIndicator.adaptive(
          value: 0.5,
        ),
      ),
    );
  }
}

Expected behavior

You expect to see a partially revealed Cupertino activity indicator.

Actual behavior

You see an indeterminate (continually animated) Cupertino activity indicator

Analysis

The adaptive progress indicator is coded to always use the default CupertinoActivityIndicator constructor, which is always indeterminate:

return CupertinoActivityIndicator(key: widget.key, color: tickColor);

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: adaptivityAdapting to platform, screen size, input type, etca: fidelityMatching the OEM platforms betterf: material designflutter/packages/flutter/material repository.found in release: 3.16Found to occur in 3.16frameworkflutter/packages/flutter repository. See also f: labels.good first issueRelatively approachable for first-time contributorsplatform-iosiOS applications specificallyplatform-macBuilding on or for macOS specificallyteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions