Skip to content

Current values are missing from RangeSliderThumbShape paint() method #62486

@njustin

Description

@njustin

Use case

I want to customise a RangeSlider Thumb by adding the current value in the thumb.
It is possible with the SliderThumbShape class, since the paint() method is also passing the current value as the value parameter.
Please note that the RangeSliderValueIndicatorShape also include this value parameter.
So it seems like an incoherency in the API.

Proposal

Add the value (or values) parameter to the paint() method of RangeSliderThumbShape.
Please see #39882 which already added this parameter but sadly the issue was automatically closed...

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.team-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