Description
Bug description
When my app's locale is set to Arabic (e.g. Locale('ar', 'MA')), the SfCalendar widget displays all numbers (dates, times, week numbers) using Arabic-Indic digits (e.g. ١,٢,٣).
I want to display all numbers in Western (English) digits (0-9) only in the calendar, while keeping the rest of my app in Arabic.
Steps to reproduce
1- Set your app's locale to Arabic (e.g. Locale('ar', 'MA')).
2- Wrap SfCalendar with Localizations.override(locale: Locale('ar', 'MA')).
3- Observe that all numbers in the calendar are still Arabic-Indic digits.
Code sample
MaterialApp(
locale: Locale('ar', 'MA'),
home: Scaffold(
body: Localizations.override(
context: context,
locale: Locale('ar','MA'),
child: SfCalendar(
view: CalendarView.week,
timeSlotViewSettings: TimeSlotViewSettings(
timeFormat: 'HH:mm',
),
),
),
),
);