-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
c: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages team
Description
Use case
hourMinuteTextStyle should be using a different font styles for the dial and input mode according to Material 3 specs. Currently uses it uses only one text style for both entry modes.
Expected Values
Actual Value
flutter/packages/flutter/lib/src/material/time_picker.dart
Lines 3609 to 3617 in 1a7a061
| @override | |
| TextStyle get hourMinuteTextStyle { | |
| return MaterialStateTextStyle.resolveWith((Set<MaterialState> states) { | |
| // 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. | |
| // https://m3.material.io/components/time-pickers/specs#fd0b6939-edab-4058-82e1-93d163945215 | |
| return _textTheme.displayMedium!.copyWith(color: _hourMinuteTextColor.resolve(states)); | |
| }); | |
| } |
Proposal
Update hourMinuteTextStyle defaults to match Material 3 specs.
Metadata
Metadata
Assignees
Labels
c: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.flutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages team
Type
Projects
Status
Done (PR merged)

