Macacoazul01 / month_picker_dialog

Internationalized dialog for picking a single month from an infinite list of years.
https://pub.dev/packages/month_picker_dialog
MIT License
70 stars 97 forks source link

Add scriptCode locale option #98

Closed sinelser closed 3 months ago

sinelser commented 3 months ago

Hello,

I added the possibility for the scriptCode in locale_utils.

My problem was that in the project we use Locale.fromSubtags(languageCode: 'sr', scriptCode: 'Latn') for Serbian language in the Latin alphabet, but with the current implementation, the Cyrillic alphabet was shown in the dialog.

This PR fixes this issue.

Macacoazul01 commented 3 months ago

Tks for the PR, gonna try to review it tomorrow

Macacoazul01 commented 3 months ago

@sinelser avaliable in 4.0.1. Tks for your help