Fix TimePicker token issue link (#131863)
Fix issue reference for https://github.com/flutter/flutter/issues/131247 (it was added in the bug fix PR https://github.com/flutter/flutter/pull/131253)
This commit is contained in:
parent
f0e39349c9
commit
0192f88328
@ -281,7 +281,7 @@ class _${blockName}DefaultsM3 extends _TimePickerDefaults {
|
|||||||
@override
|
@override
|
||||||
TextStyle get hourMinuteTextStyle {
|
TextStyle get hourMinuteTextStyle {
|
||||||
return MaterialStateTextStyle.resolveWith((Set<MaterialState> states) {
|
return MaterialStateTextStyle.resolveWith((Set<MaterialState> states) {
|
||||||
// TODO(tahatesser): Update this when https://github.com/flutter/flutter/issues/127035 is fixed.
|
// TODO(tahatesser): Update this when https://github.com/flutter/flutter/issues/131247 is fixed.
|
||||||
// This is using the correct text style from Material 3 spec.
|
// This is using the correct text style from Material 3 spec.
|
||||||
// https://m3.material.io/components/time-pickers/specs#fd0b6939-edab-4058-82e1-93d163945215
|
// https://m3.material.io/components/time-pickers/specs#fd0b6939-edab-4058-82e1-93d163945215
|
||||||
return _textTheme.displayMedium!.copyWith(color: _hourMinuteTextColor.resolve(states));
|
return _textTheme.displayMedium!.copyWith(color: _hourMinuteTextColor.resolve(states));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user