Add Material 3 support for Slider - Part 2 (#114624)

* Add Material 3 support for Slider - Part 2

* Kick tests

* Update drawing order to fix html renderer bug

* Update test
This commit is contained in:
Taha Tesser
2022-11-17 20:33:16 +02:00
committed by GitHub
parent 0344407614
commit ac06523b74
5 changed files with 525 additions and 17 deletions

View File

@@ -71,6 +71,14 @@ class _${blockName}DefaultsM3 extends SliderThemeData {
return Colors.transparent;
});
@override
TextStyle? get valueIndicatorTextStyle => ${textStyle('$tokenGroup.label.label-text')}!.copyWith(
color: ${componentColor('$tokenGroup.label.label-text')},
);
@override
SliderComponentShape? get valueIndicatorShape => const DropSliderValueIndicatorShape();
}
''';