Skip to content

Add showValueIndicator to Slider widget. #179660

Closed

Description

@ksokolovskyi

Use case

It is possible to set the conditions under which the value indicator on a Slider will be shown by setting showValueIndicator in SliderTheme. However, Slider itself is lacking the showValueIndicator property.

When a user wants to override the showValueIndicator for a specific Slider, they have to wrap it into SliderTheme to achieve the desired behavior.

SliderTheme(
  data: SliderThemeData(
    showValueIndicator: ShowValueIndicator.alwaysVisible,
  ),
  child: Slider(
    value: 0.5,
    label: '0.5',
    onChanged: (double value) {},
  ),
),

Proposal

Add Slider.showValueIndicator property to allow user to set the conditions under which the value indicator will be shown for a specific Slider.

Slider(
  value: 0.5,
  label: '0.5',
  onChanged: (double value) {},
  mouseCursor: SystemMouseCursors.click,
  showValueIndicator: ShowValueIndicator.alwaysVisible,
)

Activity

  1. self-assigned this
    on Dec 10, 2025
  2. moved this from To do to In progress in Nevercodeon Dec 10, 2025
  3. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    team-designOwned by Design Languages team
    c: proposalA detailed proposal for a change to Flutter
    on Dec 10, 2025
  4. moved this from In progress to PR submitted in Nevercodeon Dec 10, 2025
  5. added
    P3Issues that are less important to the Flutter project
    triaged-designTriaged by Design Languages team
    on Dec 10, 2025
  6. moved this from PR submitted to Done (PR merged) in Nevercodeon Dec 18, 2025
  7. github-actions commented on Jan 1, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Jan 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesr: solvedIssue is closed as solvedteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

Type

No type

Projects

  • Status
    Done (PR merged)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions