pub struct DropRangeSliderValueIndicatorShape;Expand description
The shape of a Material 3 RangeSlider’s value indicators.
If the SliderThemeData::value_indicator_color is null, then the shape uses the
ColorScheme::primary color to draw the value indicator.
If the SliderThemeData::value_indicator_text_style is null, then the indicator label
text style defaults to TextTheme::label_medium with the color set to
ColorScheme::on_primary. If the ThemeData::use_material3 is set to false, then the
indicator label text style defaults to TextTheme::body_large with the color set to
ColorScheme::on_inverse_surface.
If the SliderThemeData::value_indicator_stroke_color is provided, then the value
indicator is drawn with a stroke border with the color provided.
See also:
RangeSlider, which includes value indicators defined by this shape.SliderTheme, which can be used to configure the range slider value indicators of all range sliders in a widget subtree.
Implementations§
Source§impl DropRangeSliderValueIndicatorShape
impl DropRangeSliderValueIndicatorShape
Sourcepub const fn new() -> DropRangeSliderValueIndicatorShape
pub const fn new() -> DropRangeSliderValueIndicatorShape
Create a range slider value indicator that resembles a drop shape.
Trait Implementations§
impl Copy for DropRangeSliderValueIndicatorShape
Source§impl RangeSliderValueIndicatorShape for DropRangeSliderValueIndicatorShape
impl RangeSliderValueIndicatorShape for DropRangeSliderValueIndicatorShape
Source§fn eq_shape(&self, other: &dyn RangeSliderValueIndicatorShape) -> bool
fn eq_shape(&self, other: &dyn RangeSliderValueIndicatorShape) -> bool
Value equality, as Dart’s canonicalized const instances are identical.