Skip to content

Wrong hour/minute order in timePicker in RTL mode #63427

@mehrdad-shokri

Description

@mehrdad-shokri

Hour and Minute order are wrong in RTL mode. It is just reversed from left -> right to right -> left.
Hour view is same in both RTL and LTR meaning hour comes on the left and minute comes on the right.
To reproduce the problem set locale in MaterialApp to an rtl locale (like Locale('fa')); and call showTimePicker(context:context, initialTime: TimeOfDay.now());
screenshot-2020-08-11_01 50 05 949

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: internationalizationSupporting other languages or locales. (aka i18n)a: qualityA truly polished experiencef: date/time pickerDate or time picker widgetsf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions